content
stringlengths
23
1.05M
// // SQLiteStatus.cs // // Copyright (c) 2016 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-...
namespace TRuDI.Models.BasicData { using System.Collections.Generic; /// <summary> /// Die Klasse IntervalBlock enthält die einzelnen Intervallwerte. Eine Nachricht /// muss mindestens eine Instanz der Klasse IntervalBlock enthalten. /// /// Jede Instanz der Klasse IntervalBlock: ...
using UnityEngine; using System.Collections; public class GoalController : MonoBehaviour { // publisher public delegate void GoalScored(GameObject ball); public static event GoalScored OnGoalScored; public void FitTo(float halfWidth, float height, SideLR side) { float destX = side == Side...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Rhino.Mocks; using Rhino.Mocks.Constraints; namespace RhinoMocksConstraints { /// <summary> /// Constraints are a way to verify that a method's arguments match a certain criteria. ...
// ----------------------------------------------------------------------- // <copyright file="DictionaryUtilities.cs" company="Ris Adams"> // Copyright © 2014 Ris Adams. All rights reserved. // </copyright> // <author></author> // <project>CAS.Common</project> // -----------------------------------------------...
using SkinSelfie.ServiceData.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SkinSelfie.ServiceData.Models; using System.Linq.Expressions; namespace SkinSelfie.Repository { public class PhotoRepository : IReadWriteRepository<Ser...
using GraphicsComposerLib.POVRay.SDL.Textures; namespace GraphicsComposerLib.POVRay.SDL.Directives { public sealed class SdlDefaultTextureDirective : SdlDirective { public ISdlTexture Texture { get; set; } } }
using pt; public class entrada{ public static void Main(string[] args){ double numero; pt.pts.escrever("escreva a sua idade?"); numero=pt.pts.entradan(); pt.pts.escrever(""); pt.pts.escrever("a sua idade é!"); pt.pts.escrever(pt.pts.texton(numero)); } }
using System.Runtime.InteropServices; namespace RecklessBoon.MacroDeck.GPUZ { [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Unicode)] public struct GPUZ_RECORD { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] public string key; [MarshalAs(UnmanagedType.ByV...
namespace CvSystem.Web.ViewModels.Add { using CvSystem.Data.Models; using CvSystem.Web.Infrastructure.Mapping; public class EducationIdViewModel : IMapFrom<Education> { public int Id { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using ScaffoldView.Models; namespace ScaffoldView.Data { public class ScaffoldViewContext : DbContext { public ScaffoldViewContext(DbContextOptions<ScaffoldViewContext>...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Utilities; namespace Microsoft.EntityFrameworkCore.Storage.Internal { /// <summary...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Rabbit.Kernel.Extensions.Folders; using System.Linq; namespace Rabbit.Kernel.Tests.Extensions { [TestClass] public sealed class ExtensionHarvesterTests : TestBase { public IExtensionHarvester ExtensionHarvester { get; set; } // ...
namespace SystemModule; public class TAddAbility { public ushort wHP; public ushort wMP; public ushort wHitPoint; public ushort wSpeedPoint; public int wAC; public int wMAC; public int wDC; public int wMC; public int wSC; public ushort wAntiPoison; public ushort wPoisonReco...
using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Game.Maths; namespace Game.WorldGen { /// <summary> /// A class linearly mapping intervals of values to new intervals. /// </summary> /// <remarks> /// This class is used in the world gene...
using System.Collections.Generic; using System.Linq; using System.Text; namespace DiscordBotPlayground.DiceRolling { public class DiceRollFormatter : IDiceRollFormatter { public string Format(SummaryRollResult rollResult) { var stringBuilder = new StringBuilder(); var ...
namespace OStimAnimationTool.Core.Models.Navigation { public enum Actors { Dom = 0, Sub = 1 } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpacePlayer : MonoBehaviour, IDestructable { //Range sets the range that speed can be set to in the inspector. //Tooltip creates a tooltip in the inspector. [Range(0, 200)] [Tooltip("speed of the player")] public float speed...
namespace _02.Photo { public static class TagTransformer { private const string Pound = "#"; private const int RequiredLeght = 20; public static string Transform(string tag) { string formattedTag = tag; formattedTag = formattedTag.Replace(" ", string.Em...
namespace SharpVectors.Dom.Css { /// <summary> /// The <c>ICssCharsetRule</c> interface represents a <c>@charset</c> rule in a CSS style sheet. The value of the /// encoding attribute does not affect the encoding of text data in the DOM objects; this encoding is /// always UTF-16. After a stylesheet is loade...
namespace Nancy { using System; /// <summary> /// Predicate used to decide if a <see cref="Type"/> should be included when resolving types. /// </summary> /// <param name="type">The <see cref="Type"/> that is being inspected.</param> /// <value><see langword="true"/> if the type should...
using Newtonsoft.Json; using ZendeskApi.Client.Models; namespace ZendeskApi.Client.Responses { public class OrganizationMembershipResponse { [JsonProperty("organization_membership")] public OrganizationMembership OrganizationMembership { get; set; } } }
using UnityEngine; using System.Collections.Generic; [CreateAssetMenu(fileName = "ParticleRegistry", menuName = "Particles/ParticleRegistry", order = 2)] public class ParticleRegistry : ScriptableObject { public List<Particle> Particles = new List<Particle>(); }
using System; using System.Collections.Generic; namespace PVOutput.Net.Objects { /// <summary> /// Describes a list of dates without any recorded data. /// </summary> public interface IMissing { /// <summary> /// Dates where no data has been recorded for. /// </summary> ...
using System.Xml; namespace Perrich.SepaWriter.Utils { /// <summary> /// Some Utilities to manage XML /// </summary> public static class XmlUtils { /// <summary> /// Find First element in the Xml document with provided name /// </summary> /// <pa...
using System; using System.Drawing; namespace DumbBotsNET.Api { public interface IDirectorApi { #region Extensibility IUserEntity CreateCustomEntity(string modelFile, string textureFile, Point position); bool RemoveCustomEntity(IUserEntity userEntity); #endregion Extensibili...
using System; using System.Collections.Generic; using System.Linq; namespace PeNet.Analyzer { internal static class ReflectiveEnumerator { public static IEnumerable<T> GetEnumerableOfType<T>(params object[] constructorArgs) where T : class { var types = typeof(T) .A...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataFaker.Models.Prograd3 { [Table( "alunograd" )] public class AlunoGrad : Model {...
using System.Runtime.InteropServices; using System.Collections.Generic; namespace ViconDataStreamSDK.CSharp { public enum Result:int { Unknown = 0, NotImplemented = 1, Success = 2, InvalidHostName = 3, InvalidMulticastIP = 4, ClientAlreadyConnected = 5, ...
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; public class CreateJsonClass : MonoBehaviour { public Foo MyFoo; static string path = "Assets/Resources/test.txt"; [ContextMenu("Load")] void LoadJSON() { //TextAsset asset = Re...
#if MULTIPLAYER_TOOLS using UnityEngine; namespace Unity.Netcode.RuntimeTests.Metrics.Utility { public class NetworkVariableComponent : NetworkBehaviour { public NetworkVariable<int> MyNetworkVariable { get; } = new NetworkVariable<int>(); private void Update() { if (IsServ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics....
using ComputerStore.Data.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace ComputerStore.Services { public interface IService<TEntity> where TEntity : class { Task<TEntity> Create(TEntity entity); Task Delete(TEntity ent...
using System; using System.Collections.Generic; using System.Linq; namespace Bugfree.Spo.Cqrs.Console { class Program { static IEnumerable<ICommand> GetCommands() { var iCommand = typeof(ICommand); return System.Reflection.Assembly.GetExecutingAssembly().GetT...
using System; using System.Diagnostics; namespace OneSmallStep.Utility.Time { [DebuggerDisplay("{TickOffset}")] public struct TimeOffset : IEquatable<TimeOffset>, IComparable<TimeOffset> { public static readonly TimeOffset OneTick = new TimeOffset(1); public TimeOffset(long offset) { TickOffset = offset;...
using System; using StoryTeller.Grammars; namespace StoryTeller.RDBMS { public class NoRowsGrammar : FactGrammar { public static Func<ISpecContext, bool> Test(string dbObject) { return c => { var runner = c.State.Retrieve<CommandRunner>(); ...
using System; namespace Intersect.Client.Framework.Graphics { public struct Resolution { public static readonly Resolution Empty = default; private static readonly char[] Separators = { 'x', ',', ' ', '/', '-', '_', '.', '~' }; public readonly ushort X; public readonly ush...
using Azure.Sdk.Tools.GitHubIssues.Services.Configuration; using Azure.Security.KeyVault.Secrets; using GitHubIssues.Helpers; using Microsoft.Extensions.Logging; using Microsoft.Identity.Client; using Octokit; using Polly; using System; using System.Collections; using System.Collections.Generic; using System.Threading...
using System; using System.Threading.Tasks; using Elasticsearch.Net; using Microsoft.Extensions.DependencyInjection; using Nest; using ShowScraper.TvMazeClient; using ShowScraper.TvMazeClient.Models; using Xunit; using Xunit.Abstractions; namespace ShowScraper.Tests { public class ElasticClientIntegrationTests ...
// * // * Copyright (C) 2005 Roger Alsing : http://www.puzzleframework.com // * // * This library is free software; you can redistribute it and/or modify it // * under the terms of the GNU Lesser General Public License 2.1 or later, as // * published by the Free Software Foundation. See the included license.txt // * or...
using Ditto.CommandLine; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Amdl.Maml.Converter.Console { [DefaultProperty("Help")] internal sealed class Parameters { [Required] [Option] [Option("s")] [DisplayName("sourcePath")] [Des...
using FluentAssertions; using NUnit.Framework; using Pegatron.Core; using Pegatron.UnitTests.Mocks; using System; using System.Linq; namespace Pegatron.UnitTests { /// <summary> /// These tests are almost the same as in <see cref="TokenStreamTest"/>, they just use the index API instead /// of directly accessing the...
//bibaoke.com using Less.Text; namespace Less.Html { /// <summary> /// 注释 /// </summary> public class Comment : Node { /// <summary> /// 节点名称 /// </summary> internal static string NodeName { get { return "#comment"; } } /// <sum...
using NUnit.Framework; using NServiceKit.Common; using NServiceKit.Plugins.ProtoBuf; using NServiceKit.ServiceClient.Web; using NServiceKit.Text; using NServiceKit.WebHost.IntegrationTests.Services; namespace NServiceKit.WebHost.IntegrationTests.Tests { /// <summary>A cached service tests.</summary> [Te...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tscrump_App { public static class Extentions { /// <summary> /// Transforms a DateTime into a string, readable by MySQL /// </summary> /// <param name="Valu...
namespace System.Command.Commands { /// <inheritdoc /> public abstract class MigrationCommand : Command, IMigrationCommand { protected MigrationCommand(string commandName) : base(commandName) { } /// <inheritdoc /> public abstract void Down(); /// <inheritdo...
using System.Collections.Generic; using Avalonia.Media; namespace WDE.Common.Avalonia.Controls { public class FormattedTextCache { private Dictionary<(string, int), FormattedText> cache = new(); private Dictionary<int, (Typeface family, double size)> styles = new(); public void...
// <copyright file="ConsoleTraceListener.cs" company="Soup"> // Copyright (c) Soup. All rights reserved. // </copyright> namespace Opal { using global::System; /// <summary> /// Console logger that wraps the base <see cref="TraceListener"/>. /// </summary> public class ConsoleTraceListener : Trace...
using Newtonsoft.Json; namespace Citizerve.SyncWorker.Models { public class Citizen { [JsonProperty(PropertyName = "citizenId")] public string CitizenId { get; set; } [JsonProperty(PropertyName = "tenantId")] public string TenantId { get; set; } [JsonProperty(Property...
namespace Plivo.Exception { public class PlivoNotFoundException : PlivoRestException { public PlivoNotFoundException(string message, uint statusCode = 404) : base(message, statusCode) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using static PEReader.Native.NativeConstants; namespace PEReader.Native { [StructLayout(LayoutKind.Sequential, Pack = 4)] internal struct IMAGE_OPTIONAL_HE...
using System; using System.IO; public class CompareTwoTextFiles { internal static void Main() { string firstFileName = "inputOne.txt"; string secondFileName = "inputTwo.txt"; if (!File.Exists(firstFileName)) { string createFirstText = "Hello and Welcome!" + Environ...
using System.Collections.Generic; namespace FluentEvents.Plugins { /// <summary> /// Provides a way to add or list plugins. /// </summary> public interface IFluentEventsPluginOptions { /// <summary> /// Adds a plugin. /// </summary> /// <remarks> ///...
using System; using System.Collections.Concurrent; using static System.Runtime.Loader.AssemblyLoadContext; namespace Natasha { public class DomainManagment { public readonly static AssemblyDomain Default; public static ConcurrentDictionary<string, WeakReference> Cache; static Domain...
using System.Drawing; namespace ConsoleApp; public class ColorSettings { public Color TextColor { get; set; } = Color.LightGray; public Color ScoreColor { get; set; } = Color.Red; public Color Tile0 { get; set; } = Color.DarkGray; public Color Tile2 { get; set; } = Color.Cyan; public ...
using GloboTicket.TicketManagement.App.Contracts; using GloboTicket.TicketManagement.App.ViewModels; using Microsoft.AspNetCore.Components; using System.Collections.Generic; using System.Threading.Tasks; namespace GloboTicket.TicketManagement.App.Pages { public partial class CategoryOverview { [Inject...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace LiteDB { internal class QueryLess : Query { private BsonValue _value; private bool _equals; public QueryLess(string field, BsonValue value, bool equals) : base(...
namespace DataFactory.Performance { public interface IPerformanceExampleRestApi { } }
using System; namespace Weborb.Reader { public interface INamedType { string getTypeName(); } }
namespace Computers.UI.Console.Interfaces { public interface IRechargable { int CurrentCharge { get; } void Charge(int powerInput); } }
namespace Bike.Interpreter { using System.Collections.Generic; using System.IO; using Builtin; internal abstract class ImportContext { protected readonly string CoreLibFolder; protected readonly string AddonLibFolders; protected readonly List<string> SearchPaths = new List<...
namespace vdt.jquerydropdownlist.MVC.test { public class TestViewModel { public JQueryDropdownlist TestProperty { get; set; } } }
using Microsoft.Azure.Documents; namespace SFA.DAS.CosmosDb.UnitTests.Fakes { public class ReadOnlyDummyRepository : ReadOnlyDocumentRepository<ReadOnlyDummy> { public ReadOnlyDummyRepository(IDocumentClient documentClient, string databaseName, string collectionName) : base(documentClient, ...
using System.IO; using Base.Lang; namespace Base.IO.Impl { public class ReadableFile : ILengthAwareReadable, INamed { public readonly FileInfo File; public long Length => File.Length; public string Name => File.FullName; public ReadableFile(string file) { Fi...
namespace BookLibrary.Web.Pages.Books { using System.Linq; using Data; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Models; public class DetailsModel : PageModel { private BookLibraryDbContext db; public DetailsModel(BookLibraryDbContext...
using System; using System.Collections.Generic; namespace HBSQLite { /// <summary> /// provide methods and properties to create order by object /// </summary> public class OrderBy : IOrderBy { /// <summary> /// convert this class to string /// </summary> ...
namespace Stories.Services { public interface IVoteQueueService { void QueueStoryVote(int storyId); void QueueCommentVote(int commentId); } }
using Models; namespace Interfaces { public interface IDumpable { /// <summary> /// Wykonaj zrzut ofert ze strony /// </summary> /// <returns></returns> Dump GenerateDump(); } }
using AbiokaRdn.Infrastructure.Common.Domain; using AbiokaRdn.Infrastructure.Common.Exceptions; namespace AbiokaRdn.Domain.Repositories { public interface IExceptionLogRepository : IReadOnlyRepository<ExceptionLog> { /// <summary> /// Adds the specified exception log. /// </summary> ...
using System; using System.Globalization; using System.Reflection; using Xamarin.Forms; namespace IconButtonSample.Converters { public class ImageSourceConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (!(...
using System.Text; using FeatureToggle.NET.Core.Settings; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; namespace FeatureToggle.NET.Web { public partial class Startup { ...
using System.Windows.Input; namespace GongSolutions.Wpf.DragDrop { /// <summary> /// Interface implemented by Drag Info Builders. /// It enables custom construction of DragInfo objects to support 3rd party controls like DevExpress, Telerik, etc. /// </summary> public interface IDragInfoBuilder ...
using System.ComponentModel.DataAnnotations; using UrlShortener.Validation; namespace UrlShortener.Models; /// <summary> /// Create shortened url request /// </summary> public class CreateShortenedUrlRequest { /// <summary> /// Url to shorten /// </summary> [Required] [Url] public str...
using System; // ReSharper disable once CheckNamespace namespace Palla.Labs.Vdt.App.Dominio.Dtos { public class ManutencaoDto : DtoBase<Guid> { public long Data { get; set; } public string Parte { get; set; } } }
using System.Runtime.InteropServices; using Sharpen; namespace android.graphics { [Sharpen.Sharpened] public partial class Region : android.os.Parcelable, System.IDisposable { /// <hide></hide> internal readonly android.graphics.Region.NativeRegion mNativeRegion; public enum Op : int { DIFFERENCE = 0, ...
using System; namespace Robzilla888.ApiReviewHelper.ObjectModel { [Flags] internal enum MemberAttributes { None = 0x0, New = 0x1, //Private = 0x2, Protected = 0x4, Protected_Internal = 0x8, Public = 0x10, Static = 0x20, Virtual = 0x40, ...
using Masiv.Roulette.Model; using System.Threading.Tasks; namespace Masiv.Roulette.Data { public interface IBetRepository { Task<int> CreateBet(Bet bet); } }
using FluentAssertions; using LogoFX.Client.Mvvm.Model.Specs.Helpers; using LogoFX.Client.Mvvm.Model.Specs.Objects; using TechTalk.SpecFlow; namespace LogoFX.Client.Mvvm.Model.Specs.Steps { [Binding] internal sealed class DeepHierarchyEditableModelSteps { private readonly CompositeDirtyScenarioDat...
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using ProjectManager.Controls; using ProjectManager.Projects; using PluginCore; using PluginCore.Localization; using PluginCore.Controls; using ASClassWizard.Controls.TreeView; namespace ASClassWizard.Wizards { ...
using Util.Biz.Payments.Core; namespace Util.Biz.Payments.Wechatpay.Parameters.Requests { /// <summary> /// 微信App支付参数 /// </summary> public class WechatpayAppPayRequest : PayParamBase { } }
using System; using System.IO; using MO.Common.Lang; namespace MO.Common.IO { //============================================================ // <T>字符读取器。</T> //============================================================ public class FCharReader : IDisposable { protected StreamReader _reader; ...
using System.Transactions; namespace BookLovers.Base.Infrastructure.Persistence { public static class TransactionScopeFactory { public static TransactionScope CreateTransactionScope( IsolationLevel isolationLevel) { return new TransactionScope( Transacti...
using System; using System.Collections.Generic; using System.Text; using DatAdmin; using System.Globalization; using System.Text.RegularExpressions; using System.Data.OracleClient; using System.Data; namespace Plugin.oracle { public class OracleDDA : DialectDataAdapterBase { public OracleDDA(ISqlDiale...
using System.Collections.Generic; using BattleLogic.Player.Stats; namespace BattleLogic.Stats { public interface IStats { IEnumerable<IStat> All { get; } void Set(StatType type, float value); void Reset(StatType type); void Increase(StatType type, float value); void Decrease(StatType typ...
namespace PcapDotNet.Packets.IpV6 { /// <summary> /// RFC-ietf-netext-pmip-lr-10. /// </summary> public enum IpV6MobilityLocalizedRoutingAcknowledgementStatus : byte { /// <summary> /// Success. /// </summary> Success = 0, /// <summary> /...
using PokemonManager.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PokemonManager.Game.FileStructure.Gen3.GBA { public class BlockData : IBlockData { protected byte[] raw; protected BlockDataCollection parent; protected IGam...
namespace ay.Controls { public class TreeViewItemData : AyPropertyChanged { private string _Header; /// <summary> /// 树的内容 /// </summary> public string Header { get { return _Header; } set { Set(ref _Header, value); } } p...
using System.Collections.Generic; using System.Dynamic; using System.Linq; namespace SpanJson.Formatters.Dynamic { public sealed class SpanJsonDynamicObject : DynamicObject { private readonly Dictionary<string, object> _dictionary; internal SpanJsonDynamicObject(Dictionary<string, object> dic...
namespace Book.ViewModels.Samples.Chapter25.Sample01 { using System; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Reactive.Subjects; using Microsoft.Reactive.Testing; using PCLMock; using ReactiveUI; using ReactiveUI.Testing; ...
using SOLID_._5.DIP.GoodExample.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SOLID_._5.DIP.GoodExample.Concrete { public class ChickenMeat : IRecipes { public string GetCooking() { ...
namespace ET.Client { [ComponentOf(typeof(Session))] public class RouterCheckComponent: Entity, IAwake { } }
using System.Collections.Immutable; using Zio; namespace Arbor.CodeAutomate; public class RepositoryAnalysis { public RepositoryAnalysis(ImmutableArray<FileEntry> workflowFiles, IReadOnlyCollection<ICodeFixSuggestion> codeFixSuggestions) { CodeFixSuggestions = codeFixSuggestions; Work...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RA.Models.Input.profiles.QData { /// <summary> /// DataSet Time Frame /// Time frame including earnings and employment start and end dates of the data set. /// https://credreg.net/qdata/te...
using FluentValidation; using MediatR; using StarterProject.Api.Common.Responses; using System.Threading.Tasks; namespace StarterProject.Api.Services { public interface IMediatorService { Task<Response<TResponse>> Send<TResponse>(IRequest<TResponse> request) where TResponse : class, new();...
using System; using System.Collections.Generic; namespace DesignPatterns.GoF.Behavioural.Memento { // Intent // Without violating encapsulation, capture and externalize an object'sinternal //state so that the object can be restored to this state later. // Use the Memento pattern when //·...
using System; namespace MemgrindDifferencingEngine.Util { static class Strings { /// <summary> /// Return the first line of a string. /// </summary> /// <param name="multiline"></param> /// <returns></returns> public static string FirstLine(this string multiline...
using System; namespace ASD.Graphs { /// <summary> /// Lista incydencji implementowana jako drzewo AVL /// </summary> /// <remarks> /// Cała funkcjonalność pochodzi z typu bazowego <see cref="AVL{TKey,TValue}"/>. /// </remarks> /// <seealso cref="ASD.Graphs"/> [Serializable] public...
using WashableSoftware.Crosscutting.Notifications.Core.Channels; using WashableSoftware.Crosscutting.Notifications.Core.Notifications; using System.Threading.Tasks; namespace WashableSoftware.Crosscutting.Notifications.Core.Manager { public interface INotificationManager { INotificationChannel GetChan...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ES5.Script.EcmaScript.Internal { public class CommaSeparatedExpression : ExpressionElement { List<ExpressionElement> fParameters; public CommaSeparatedExpression(PositionPair aPositionPair, params...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Fruits : MonoBehaviour { string[] cars = { "banana", "apple", "mango", "blueberry"}; void Start(){ for (int i = 0; i <= cars.Length; i = i + 1) { Debug.Log("cars at position" + i + "is " + ca...