content stringlengths 23 1.05M |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace TracerX
{
/// <summary>
/// Renders an Exception object and its inner exceptions recursively.
/// Most public properties are rendered, including the ... |
using Microsoft.Maui.Essentials;
namespace Samples.ViewModel
{
public class DeviceInfoViewModel : BaseViewModel
{
DisplayInfo screenMetrics;
public string Model => DeviceInfo.Model;
public string Manufacturer => DeviceInfo.Manufacturer;
public string Name => DeviceInfo.Name;
public string VersionString... |
using ImGuiNET;
using NumericsVector2 = System.Numerics.Vector2;
namespace StoicGoose.Interface.Windows
{
public abstract class ImGuiWindowBase
{
protected bool isWindowOpen = false;
public bool IsWindowOpen { get => isWindowOpen; set => isWindowOpen = value; }
public string WindowTitle { get; } = string.E... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
namespace EntityUi.Core
{
public interface IRepositoryBase<TEntity, TContext>
where TEntity : IDomainModelBase
where TContext : DbContext
{
void Add(TEntity entity);
void Delete(TEntity entity);
TEntity... |
using Entitys;
using Helpers;
using LoadManagementModels;
using MessageManager.Filter;
using MessageManager.Models;
using Microsoft.AspNet.SignalR;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Surging.Cloud.CPlatform.Runtime.Server;
using Surging.Cloud.CPlatform.Utilities;
using Surging.Cloud.ProxyGenerator;
using Surging.Cloud.Validation.DataAnnotationValidation... |
namespace Draughts.Web.UI.Domain
{
/// <summary>
/// Represents an allowed move.
/// </summary>
public class GameMove
{
/// <summary>
/// Gets or sets a piece's starting X position.
/// </summary>
public int StartX { get; set; }
/// <summary>
/// Get... |
using System;
using Battleships.BattleShipsEngine;
using Battleships.Enums;
using Battleships.Models;
using Battleships.Models.Contracts;
using Battleships.Utilities;
using Battleships.Utilities.Contracts;
using Battleships.View;
using Battleships.View.Contracts;
using Autofac;
using Battleships.BattleShipsEngine.Cont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TJAPlayer3.Animations
{
/// <summary>
/// フェードアウトを行うクラス。
/// </summary>
internal class FadeOut : Animator
{
/// <summary>
/// フェードアウトを初期化します。
/// </summary>
/// <param na... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Controllers;
namespace ManualDi
{
public class ManualControllerActivator : IControllerActivator
{
private readonly ImmutableDictionary<Type, object> contro... |
using Microsoft.OpenApi.Any;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Linq;
namespace Logiwa.Swagger
{
public class EnumSchemaFilter : ISchemaFilter
{
public void Apply(OpenApiSchema model, SchemaFilterContext context)
{
... |
using QIP.Domain;
using QIP.IODomain.Input;
using QIP.IODomain.Output;
namespace QIP.IODomain.Extensions {
public static class UserBoardExtensions {
public static OutUserBoard Out(this UserBoard userBoard) {
return new OutUserBoard() {
UserId = userBoard.UserId,
... |
namespace Microwave.Domain.Results
{
public abstract class ResultStatus
{
public abstract void Check();
}
} |
using Autofac;
using MAVN.Common.Middleware.Authentication;
using JetBrains.Annotations;
using MAVN.Job.TokensStatistics.Client;
using MAVN.Service.AdminManagement.Client;
using MAVN.Service.BonusCustomerProfile.Client;
using MAVN.Service.Campaign.Client;
using MAVN.Service.Credentials.Client;
using MAVN.Service.Cross... |
using Nikcio.DataAccess.Models;
using Nikcio.DataAccess.TestBase.Models.Addresses;
namespace Nikcio.DataAccess.TestBase.Models.Houses {
public class House : IGenericId {
public int Id { get; set; }
public int Windows { get; set; }
public int Doors { get; set; }
public Address? Addr... |
using NooBIT.AspNetCore.Mvc.Http;
using NooBIT.AspNetCore.Mvc.Http.Headers;
using System;
namespace NooBIT.AspNetCore.Mvc.Security.FrameOptions
{
public class FrameOptionsBuilder : IHeaderBuilder
{
private string _value = FrameOptionsHeader.SameOrigin;
public Header Build()
{
... |
namespace SAO.LoadingService
{
public enum ServerStatus
{
Online = 85,
Updating = 100,
Breaking = 200
}
}
|
using System;
using System.Windows.Forms;
namespace txtChat
{
public partial class ChatWindow : Form
{
public ChatWindow()
{
InitializeComponent();
chat_input.KeyDown += new KeyEventHandler(chat_input_KeyDown);
}
public void LoadChat(string text)
... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class ARCSampleInterface : MonoBehaviour
{
[Header("Navigation UI")]
public CanvasGroup mainScreen;
public CanvasGroup hostScreen;
public CanvasGroup joinScreen;
public CanvasGroup playScreen;
[Header("Host UI")]
pub... |
using System;
using FluentAssertions;
using ShippingCostCalculator.Domain.CostCalculators;
using Xunit;
namespace ShippingCostCalculator.Domain.Tests.CostCalculators
{
public class ShipFasterCostCalculatorTests
{
[Theory]
[InlineData(1)]
[InlineData(314.5)]
[InlineData(900)]
... |
using System;
using JetBrains.Annotations;
namespace DeathStar
{
/// <summary>
/// Реактор, питает все компоненты звездолета
/// </summary>
public interface IReactor : IDeathStarComponent
{
/// <summary>
/// Возвращает требуемый уровен энергии
/// </summary>
/// <pa... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Threading.Tests
{
public static class HostExecutionContextTests
{
[Fact]
public static void BasicTest()
{
v... |
using gm.modularity;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
namespace gm.core
{
public class AppCreationOptions
{
[NotNull]
public IServiceCollection Services { get; }
[NotNull]
public PlugInList PlugInList { get; }
public AppCre... |
using UnityEngine;
namespace UnitySnake
{
public class UnityInputSource : IInputSource
{
private readonly KeyCode[] _keys;
public KeyCode LastPressedKey { get; private set; }
public UnityInputSource(KeyCode[] keys) { _keys = keys; }
public void Update()
{
... |
namespace Nofy.Entityframework.Test
{
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nofy.Core;
using Nofy.Core.Helper;
using Nofy.Core.Model;
using Nofy.EntityFramework6;
using TestStack.BDDfy;
[TestClass]
public class MagicTest
{
... |
using Microsoft.AspNetCore.Mvc.Rendering;
using Arma3Event.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Arma3Event.Models
{
public class RoundSquadFormViewModel
{
public RoundSquad Squad { get; set; }
public List<SelectLis... |
using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerInputHandler : MonoBehaviour
{
public Vector2 RawMovementInput { get; private set; }
public Vector2 RawLookInput { get; private set; }
public float RawInputX { get; private set; }
public float RawInputY { get; ... |
using System.Text.Json.Serialization;
using FluentSpotifyApi.Core.Model;
namespace FluentSpotifyApi.Model.Audio
{
/// <summary>
/// The section.
/// </summary>
public class Section : JsonObject
{
/// <summary>
/// The start.
/// </summary>
[JsonPropertyName("start")... |
using Bamboo.CRM.Localization;
using Volo.Abp.AspNetCore.Mvc;
namespace Bamboo.CRM
{
public abstract class CRMController : AbpController
{
protected CRMController()
{
LocalizationResource = typeof(CRMResource);
}
}
}
|
using Havit.Services.Caching;
using System;
using System.Collections.Generic;
namespace Havit.Data.EntityFrameworkCore.Patterns.Caching
{
/// <summary>
/// Úložiště CacheOptions k jednotlivým entitám
/// </summary>
public interface IAnnotationsEntityCacheOptionsGeneratorStorage
{
/// <summary>
/// Úložiště C... |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using NewRelic.Agent.Core.Attributes;
namespace NewRelic.Agent.Core.WireModels
{
public class TransactionEventWireModel : EventWireModel
{
public TransactionEventWireModel(IAttributeValueCollection attribValu... |
using System.Collections.Generic;
using System.Text;
namespace HuffmanDecoding
{
public static class Decoder
{
// To decode coded string we need to have a legend table and bit sequence itself
public static string Perform(Dictionary<string, char> codesToChars, string codedSequence)
{
... |
using System;
using System.Linq;
using Windows.ApplicationModel.Background;
using Windows.Devices.Geolocation;
using Windows.Devices.Geolocation.Geofencing;
using Shiny.Infrastructure;
namespace Shiny.Locations
{
public class GeofenceBackgroundTask : IBackgroundTask
{
public async void Run(IBackgroun... |
using JsonLD.Entities;
using VDS.RDF;
using VDS.RDF.Writing;
namespace Nancy.Rdf.Responses
{
/// <summary>
/// Serializer for RDF/XML format
/// </summary>
public class RdfXmlSerializer : CompressingSerializer
{
/// <summary>
/// Initializes a new instance of the <see cref="RdfXmlS... |
using System.Web;
using RazorEngine.Text;
namespace FubuMVC.Razor.Rendering
{
public class EncodedString : IEncodedString
{
private readonly object _value;
public EncodedString(object value)
{
_value = value;
}
public string ToEncodedString()
{
... |
using System;
using JavaOpsin = uk.ac.cam.ch.wwmm.opsin;
namespace Opsin
{
/// <summary>
/// Allows OPSIN to be configured e.g. enable processing of radicals
/// </summary>
/// <example>
/// var n2sConfig = new NameToStructureConfig();
/// n2sconfig.AllowRadicals = true;
/// nts.ParseChemi... |
using Fluxor;
namespace SharedLibrary.Features.StateStore.State;
public record ResetCounterAction { }
public static partial class StateStoreReducers
{
[ReducerMethod]
public static StateStoreState ReduceResetCounter(StateStoreState current, ResetCounterAction action)
=> current with { Counter = 0, };
}
|
using System;
using System.Runtime.InteropServices;
namespace CrewChiefV4.assetto
{
class assettoConstant
{
public const string SharedMemoryNamePhysics = "Local\\acpmf_physics"; // Local\\acpmf_physics
public const string SharedMemoryNameGraphic = "Local\\acpmf_graphics"; // Local\\acpmf_graph... |
// Copyright (c) True Goodwill. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.Binance
{
using System.Collections.Immutable;
public sealed record SymbolResponse
{
public string Symbol { get; init; }
public string ... |
using UnityEngine;
using System.Collections;
using System;
[Serializable]
public class DictionaryOfStringAndInt : SerializableDictionary<string, int>
{}
|
using System;
using System.Collections.Generic;
using MinorShift.Emuera.GameData;
using MinorShift.Emuera.GameData.Expression;
using MinorShift.Emuera.GameData.Variable;
using MinorShift.Emuera.GameData.Function;
namespace MinorShift.Emuera.GameProc.Function
{
internal abstract class Argument
{
public bool IsCons... |
using DevionGames;
using DevionGames.QuestSystem;
using DevionGames.UIWidgets;
using UnityEngine;
namespace DGExt
{
[Icon("Quest")]
[ComponentMenu("Quest System/Open Quest Talk Window")]
[System.Serializable]
public class QuestTalkOpen : Action
{
[SerializeField]
protected string _W... |
using CurveDatabase2d.Models;
using Microsoft.EntityFrameworkCore;
namespace CurveDatabase2d.Data
{
public class CurveDatabase2dContext : DbContext
{
public CurveDatabase2dContext(DbContextOptions options)
: base(options)
{
}
public DbSet<Entity> Entities { get; s... |
using System.Xml.Linq;
namespace Knapcode.ExplorePackages.Entities
{
public interface INuspecQuery
{
string Name { get; }
string CursorName { get; }
bool IsMatch(XDocument nuspec);
}
}
|
using System.Collections.Generic;
namespace Dynatrace.Net.Environment.LogMonitoring.Models
{
public class LogJobRecordsResult
{
public IEnumerable<LogRecord> Records { get; set; }
public string ScrollToken { get; set; }
}
}
|
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Netcool.EventBus
{
public static class EventBusExtensions
{
public static void AddEventBus<TEventBus>(this IServiceCollection services) where TEventBus : class, IEventBus
{
s... |
namespace MFA.Entities.Configurations
{
public class AzureConfiguration
{
public string BlobBaseUrl { get; set; }
public string BlobAccountName { get; set; }
public string BlobAccessKey { get; set; }
public string BlobContainerName { get; set; }
public string CognitiveS... |
namespace MuziqGrabber.Core.Providers {
using System;
public sealed class GrabberProgressReportEventArgs : EventArgs {
public string Title { get; private set; }
public Uri DownloadUri { get; private set; }
public GrabberProgressReportEventArgs(string title, Uri downloadUri) {
... |
namespace IronSharp.Core
{
public interface IPagingFilter
{
/// <summary>
/// The 0-based page to view. The default is 0.
/// </summary>
int Page { get; set; }
/// <summary>
/// The number of queues to return per page. The default is 30, the maximum is 100.
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScriptsForIPAndEmotion : MonoBehaviour {
public InputField ip_notag;
public InputField ip_withtag;
public Text UserInputIPnotag;
public Text UserInputIPwithtag;
public InputField Question_text;
pub... |
using Microsoft.Build.Execution;
using System;
using System.Collections.Generic;
namespace MsBuildDebugger
{
public interface ITargetTreeItem
{
string TargetName { get; }
ITargetTreeItem Parent { get; }
IEnumerable<ITargetTreeItem> BeforeTargets { get; }
IEnumerable<ITargetT... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Options;
using Ocuda.Promenade.Models.Keys;
using Ocuda.Promenade.Service;
using Ocuda.Utility.Models;
using Ocuda.Utility.Services.Interfaces;
namespac... |
using System;
using Umbraco.Cms.Core.Models;
namespace Umbraco.Cms.Core.Persistence.Repositories;
public interface IIdKeyMapRepository
{
int? GetIdForKey(Guid key, UmbracoObjectTypes umbracoObjectType);
Guid? GetIdForKey(int id, UmbracoObjectTypes umbracoObjectType);
}
|
using Client.Core.Exceptions;
using Client.Core.Interfaces;
using Client.Core.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Core.Services
{
public class JsonServices : IFileService
... |
namespace DFC.App.JobGroups.Data.Enums
{
public enum MessageContentType
{
None,
SharedContentItem,
JobGroup,
JobGroupItem,
}
}
|
namespace HotelBookingEngine
{
public interface IHotelBookingCreator
{
/// <summary>
/// Creates the booking based on a request.
/// </summary>
/// <returns>The result of the booking request.</returns>
/// <param name="bookingRequest">Booking request.</param>
Boo... |
using System;
using Sameer.Shared.Data;
using Sgs.WorkProgram.Model;
namespace Sgs.WorkProgram.BusinessLogic
{
public class MainProjectsManager : GeneralManager<MainProject>
{
public MainProjectsManager(IRepository repo) : base(repo)
{
}
}
}
|
namespace Shared.Constants.Seeding
{
public class BacklogPriorityConstants
{
public const string LevelOne = "Level One";
public const string LevelTwo = "Level Two";
public const string LevelThree = "Level Three";
public const string LevelFour = "Level Four";
public const... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using DPSF;
namespace ZitaAsteria.World.ShaderEffects
{
/// <summary>
/// This draws over the screen.
/// </summary>
public class StaticNoiseShader : ShaderEffect
{
float m... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ComparisonDemo : MonoBehaviour {
void OnDrawGizmos() {
if(!Application.isPlaying) {
Draw();
}
}
void OnRenderObject() {
Draw();
}
void Draw() {
UltiDraw.Begin();
UltiDraw.SetCurvature(0f);
UltiDraw.Dr... |
//
// webdoc.cs
//
// Author:
// Jonathan Pryor <jpryor@novell.com>
//
// Copyright (c) 2009 Novell, Inc. (http://www.novell.com)
//
// 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 with... |
using System.Collections.Generic;
using BrotliLib.Serialization;
using BrotliLib.Serialization.Reader;
namespace BrotliLib.Collections.Huffman{
partial class HuffmanNode<T>{
/// <summary>
/// Leaf node that contains a <see cref="value"/> of type <c>T</c>.
/// </summary>
public seal... |
using System.Threading;
using Newtonsoft.Json;
namespace BubbleBugSystemController.Config {
public class Config {
private static Config _instance;
private static object _lock = new object();
internal static Config Instance {
get {
Monitor.Enter(_lock);
... |
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using ClangSharp.Interop;
namespace ClangSharp
{
public sealed class ObjCIvarDecl : FieldDecl
{
private readonly Lazy<... |
using System.Collections.Generic;
using System.Xml.Serialization;
using MonoGame.Extended.Tiled;
namespace MonoGame.Extended.Content.Pipeline.Tiled
{
public class TiledMapImageLayerContent : TiledMapLayerContent
{
[XmlAttribute(AttributeName = "x")]
public int X { get; set; }
[XmlAttri... |
using System;
using Superpower;
using Superpower.Parsers;
namespace tcalc.Parsing
{
public static class ExpressionTextParsers
{
public static TextParser<TimeSpan> Magnitude { get; } =
Character.EqualTo('d').Value(TimeSpan.FromDays(1))
.Or(Character.EqualTo('h').Value(TimeSp... |
// *********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.... |
// This file is part of CycloneDX Library for .NET
//
// 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 applicable law... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using TableauAPI.RESTHelpers;
using TableauAPI.ServerData;
namespace TableauAPI.RESTRequests
{
public class SendUpdateUser : TableauServerSignedInRequestBase
{
private readonly TableauServerUrls _onlineUrls;
p... |
// <copyright file="GedcomRecordType.cs" company="GeneGenie.com">
// Copyright (c) GeneGenie.com. All Rights Reserved.
// Licensed under the GNU Affero General Public License v3.0. See LICENSE in the project root for license information.
// </copyright>
// <author> Copyright (C) 2007 David A Knight david@ritter.demon.... |
using System;
using System.Collections;
using System.Reflection;
using UnityEditor;
namespace Utils.Editor
{
/// <summary>
/// Menu item to toggle on/off all gizmos
/// </summary>
public class SceneViewGizmos
{
private static bool _globalGizmosOn;
[MenuItem("Tools/Scene View/Toggle Gizmos &#g")]
private ... |
namespace Consensus.FastBFT.Messages
{
public class CommitMessage : Message
{
public string Secret { get; set; }
public int CommitResult { get; set; }
public byte[] CommitResultHashCounterViewNumber { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Scoring : MonoBehaviour
{
private double total;
private int count;
private Text text;
void Start()
{
BeatMachine.current.onRating += addScore;
BeatMachine.current.onEnd... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Npgsql;
namespace WindowsFormsApplication1
{
public partial class MainMenu : Form
{
... |
#region License, Terms and Author(s)
//
// Mannex - Extension methods for .NET
// Copyright (c) 2009 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with ... |
namespace Lazy.Core.ViewModels.UserControls
{
using Lazy.Core.Enums;
using Lazy.Core.IoCContainer;
using Lazy.Core.ViewModels.Base;
using System;
using System.Windows.Input;
public class ControlBarViewModel : BaseViewModel
{
public ControlBarViewModel()
{
this.O... |
@{
ViewData["Title"] = "Home Page";
}
<h1>Index</h1>
<a href="/Home/Test1" target="_blank">测试1</a>
<br />
<br />
<a href="/Home/Test2" target="_blank">测试2</a>
<br />
<br />
<a href="/Home/Test3" target="_blank">测试3</a>
<br />
<br />
<a href="/Home/Test4" target="_blank">测试4</a>
<br />
<br />
<a href="/Home/Tes... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BetterConsoleTables
{
public class ConsoleTables
{
public List<Table> m_tables;
public IList<Table> Tables { get
{
return m_tables;
}
}
public ConsoleTables()
... |
// Copyright (c) Six Labors and contributors.
// Licensed under the GNU Affero General Public License, Version 3.
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Processing.Binarization
{
public class OrderedDitherFactoryTests
{
#pragma warning di... |
using System.Collections.Generic;
namespace BrightPeeps.Core.Models
{
public partial class PersonProfile
{
public PersonData Data { get; set; }
public ImageData ProfilePicture { get; set; }
public IEnumerable<Accomplishment> Accomplishments { get; set; }
public IEnumerable<Quote... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WebMConverter
{
#region Filters
static class Filters
{
internal static CaptionFilter Caption = ... |
#if ENABLE_PLAYFABSERVER_API
using System;
namespace PlayFab
{
using MultiplayerAgent.Model;
using UnityEngine;
public class PlayFabMultiplayerAgentView : MonoBehaviour
{
/// <summary>
/// Static reference to the current active instance of the PlayFabMultiplayerAgentView.
///... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Diagnostics;
using SharpDX;
using UtilityLib;
using MaterialLib;
using MatLib =MaterialLib.MaterialLib;
namespace TerrainLib
{
class ChunkState
{
internal int mChunkX, mC... |
namespace Dukkan.Catalog
{
public class CategoryConsts
{
public const int NameMaxLength = 400;
}
} |
// Copyright(c) 2020 Francesco Pretto
// This file is subject to the MIT license
using CodeBinder.Shared;
using CodeBinder.Shared.CSharp;
using CodeBinder.Util;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Linq;
using System.Collections.Generic;
... |
using System;
using System.Collections.Generic;
using CometD.NetCore.Bayeux;
namespace CometD.NetCore.Client.Transport
{
public interface ITransportListener
{
void OnSending(IList<IMessage> messages);
void OnMessages(IList<IMutableMessage> messages);
void OnConnectException(Exception ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// parent command class. To be inherited by any child command class
public abstract class Command {
// called whenever the command is to be executed by the actor
public abstract void execute(Actor actor);
}
|
using System;
namespace API.Services
{
public interface IDatetimeprovider
{
DateTime Now { get; }
}
public class Datetimeprovider : IDatetimeprovider
{
public DateTime Now => DateTime.Now;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CrossCuttingConcerns.Validation;
namespace TestHarness
{
[DisallowNonNullAspect(ValidationFlags.NonPublic | ValidationFlags.Methods | ValidationFlags.Arguments)]
public class ValidationExa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PBulletGenerator : MonoBehaviour {
public GameObject pBulletPrefab;
private const float P_BULLET_POS_SET = 1.1f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Upda... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMotor : MonoBehaviour {
private Transform lookAt;
private Vector3 starOffset;
private Vector3 moveVector;
private float transition = 0.0f;
private float animationDuration = 3.0f;
private Vector3 animationOffset ... |
using System;
using System.Collections.Generic;
using System.Windows;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using PhoneKit.Framework.Core.Tile;
using PhoneKit.Framework.Core.Storage;
using PhoneKit.TestApp.ImageControls;
using PhoneKit.Framework.Core.Graphics;
using PhoneKit.Framework.Tile;
usin... |
namespace bigbangapi{
public class Episode{
public int Id { get; set; }
public string Name { get; set; }
public int Season { get; set; }
public int Number { get; set; }
public string AirDate { get; set; }
public string Summary { get; set; }
public string Image... |
using UnityEngine;
using TMPro;
public class ColourButton : MonoBehaviour
{
public TextMeshProUGUI textoCD;
private Color32 currentColour;
private Color32[] colours;
[SerializeField]
private Canal canal;
private int index = 0;
public float timerChange, timerChangeMax = 5f;
public i... |
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
using UnityEngine.UI;
using ScriptableObjectArchitecture;
public class LevelSelectorUI : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI _levelText;
[SerializeField] private float _levelSelectorDelay = 1f;
[SerializeField] privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GitMonitor.Objects.Changes;
using LibGit2Sharp;
namespace GitMonitor.Services.ChangesTrackers
{
/// <summary>
/// Class that tracks tag changes in a git repository.<br/>
/// It's intended use is to be put in the usi... |
using System;
using BoletoFacilSDK.Exceptions;
using BoletoFacilSDK.Model;
using BoletoFacilSDK.Model.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BoletoFacilSDK.Tests.Exceptions
{
[TestClass]
public class BoletoFacilInvalidEntityExceptionTests : AbstractTests
{
... |
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Zammad
{
public class ZammadOptions
{
public string Endpoint { get; set; }
public string APIKey { get; set; }
public bool Configured { get; set; }
[Display(Name = "Which group put new server tickets in?")]
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace TrafficConeBuilder.Parameters
{
/// <summary>
/// Содержит логику для управления списком параметров дорожного конуса
/// </summary>
public class Parameters : IEnumerable<Parameter>
{
priv... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using SistemaMundoAnimal.Source.Entidades;
using SistemaMundoAnimal.Source... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.