content
stringlengths
23
1.05M
using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using LibHac.Common; using LibHac.Diag; using LibHac.FsSystem; using LibHac.Util; using static LibHac.Fs.StringTraits; // ReSharper disable once CheckNamespace namespace LibHac.Fs { /// <s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace mdryden.cflapi.v1.Models.Games { public class PlayerFieldGoalReturns : FieldGoalReturns { [JsonIgnore] public int GameId { get; set; } [JsonIgnore] public int...
using System; namespace _01._Biscuits_Factory { class Program { static void Main(string[] args) { int bisciutsWorkerDay = int.Parse(Console.ReadLine()); int workers = int.Parse(Console.ReadLine()); int competitorBiscuits = int.Parse(Console.ReadLin...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace Contoso.FraudProtection.ApplicationCore.Entities.FraudProtectionApiModels { public abstract class BaseAssessmentResponse { public string MerchantRuleDecision { get; set; } public int RiskScore { get; set; } ...
using System; using FarsiLibrary.Win.BaseClasses; using FarsiLibrary.Win.Enums; namespace FarsiLibrary.Win.Drawing { public class FAPainterFactory { private static readonly FAPainterOffice2000 PainterOffice2000; private static readonly FAPainterOffice2003 PainterOffice2003; private stat...
using Microsoft.Extensions.Logging; using Open.ChannelExtensions; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; namespace PlateManager { internal class UploadProcessor : ICommand { private readonly UploadProcessor...
using Bonsai; using Bonsai.Design.Visualizers; [assembly: TypeVisualizer(typeof(BooleanTimeSeriesVisualizer), Target = typeof(bool))] namespace Bonsai.Design.Visualizers { public class BooleanTimeSeriesVisualizer : TimeSeriesVisualizerBase { public BooleanTimeSeriesVisualizer() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GetSuspicion : MonoBehaviour { [SerializeField]PlayerController playerController; RectTransform rectTf; // Start is called before the first frame update void Start() { rectTf =...
using System.Windows; namespace VVMConnection { //TODO methodはstaticなのと結び付けたい //TODO Fileダイアログとか public class MessageBox { public string MessageBoxText { get; set; } = string.Empty; public string Caption { get; set; } = string.Empty; public MessageBoxButton Button { get; ...
namespace OrchardCore.Environment.Extensions.Features { public class InternalFeatureInfo : IFeatureInfo { public InternalFeatureInfo( string id, IExtensionInfo extensionInfo) { Id = id; Name = id; Priority = 0; Category = nu...
// 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. using System; internal partial class Interop { internal static partial class Oleaut32 { [Flags] ...
using System.Collections.Generic; using System.Data.Common; namespace football.history.api.Repositories.PointDeduction { public interface IPointDeductionRepository { List<PointDeductionModel> GetPointDeductions(long competitionId); } public class PointDeductionRepository : IPointDeductionRepos...
namespace OJS.Web.Infrastructure.Filters { using System; using System.Collections; using System.Web.Mvc; using OJS.Web.Common.Extensions; using OJS.Web.Infrastructure.Filters.Contracts; public sealed class ActionFilterDispatcher : IActionFilter { private readonly Func<Type, IEnume...
using RestaurantReviews.Models.Interfaces; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace RestaurantReviews.Models { public class Restaurant:IReviewable { public ...
using System; using CafeLib.Core.Data; namespace CafeLib.Data { /// <summary> /// Data access layer storage interface. /// </summary> public interface IStorage : IDisposable { IRepository<T> CreateRepository<T>() where T : class, IEntity; IRepository<T> GetRepository<T>() where T ...
using RestSharp.Deserializers; namespace NemSharp.Request.Responses.Account { public class AccountInfo { [DeserializeAs(Name = "address")] public string Address { get; set; } [DeserializeAs(Name = "balance")] public int Balance { get; set; } [DeserializeAs(Name = "veste...
/** Copyright 2014 Robert McNeel and Associates 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 or agreed to in writin...
using System.Collections.Generic; namespace FluentNHibernate.AspNet.Identity.Entities { public class AspNetRole { internal AspNetRole() { AspNetUserRoles = new List<AspNetUserRole>(); } public virtual string Id { get; set; } public virtual string Name { get;...
using AirCC.Portal.AppService.ApplicationDtos; using AirCC.Portal.Domain; using AutoMapper; namespace AirCC.Portal.AppService { public class AutoMapperProfile : Profile { public AutoMapperProfile() { #region Input CreateMap<ApplicationInput, Application>(); ...
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. //Copyright © 2014 Vincent Simonetti using System.Drawing; namespace Sce.Atf.Drawing { /// <summary> /// Brush that paints an area with a solid color /// </summary> public interface IAtfSolidColorBrush : IAtfBrush ...
using Com.Game.Data; using Com.Game.Manager; using System; namespace Com.Game.Module { public class Reward_coupon : RewardItemBase { public Reward_coupon() : base(ERewardType.Reward_coupon) { } public override void Init(string[] param) { base.Init(param); if (base.Valid) { ba...
namespace Zaabee.Utf8Json; public static partial class Utf8JsonExtensions { public static Task<TValue?> FromStreamAsync<TValue>(this Stream? stream, IJsonFormatterResolver? resolver = null) => Utf8JsonHelper.FromStreamAsync<TValue>(stream, resolver); public static Task<object?> FromStreamAsync...
using Newtonsoft.Json; using System.Collections.Generic; namespace StockExchange.Web.Models.DataTables { /// <summary> /// Response model send to a DataTable /// </summary> /// <typeparam name="T"></typeparam> public sealed class DataTableResponse<T> { /// <summary> /// Draw ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Vim.UnitTest { public static class Extensions { #region Semaphore internal static SemaphoreDisposer DisposableWait(this Semaphore ...
@{ ViewBag.Title = "显示分页信息"; ViewBag.Description = "本示例演示如何显示分页相关信息,如总页数、总记录数及当前页数等。"; } @model PagedList<Article> @Html.Partial("_ArticleTable", Model) <div><div style="float:left;width:50%">共 @Model.TotalPageCount 页 @Model.TotalItemCount 条记录,当前为第 @Model.CurrentPageIndex 页</div> @Html.Pager(Model).Options...
using MimeKit; using System.Linq; using System.Collections.Generic; /* * Name: Message.cs * Author: Namchok Singhachai * Description: Message for sending an email. */ namespace EmailService { public class Message { public List<MailboxAddress> To { set; get; } // An email for sending publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace CryptoNews.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class SinglePost : ContentPage { public ...
using System.Collections.Generic; namespace WebRtcNet { /// <summary> /// <seealso href="http://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum"/> /// </summary> public enum RtcIceTransportPolicy { /// <summary> /// The ICE engine must not send or receive any packets a...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using SqlFu.Builders; using SqlFu.Builders.Expressions; using SqlFu.Mapping; using SqlFu.Providers; namespace SqlFu.Configuration.Internals { public class TableInfo { protected T...
using System; using System.Reflection; namespace GraphExt { public static class ReflectionExtensions { public static object GetValue(this MemberInfo memberInfo, object target) { return memberInfo switch { FieldInfo fi => fi.GetValue(target), ...
// Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.Auth.Contracts.Admin.Infrastructure.Enums; public enum ClientTypes { Web = 1, Spa = 2, Native = 3, Machine = 4, Device = 5 }
using L2ScriptMaker.Models.Npc; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using L2ScriptMaker.Core.Files; using L2ScriptMaker.Core.Parser; using L2ScriptMaker.Models.Dto; using L2ScriptMaker.Core.Mapper; namespace L2ScriptMaker.Services.Npc { public class ...
/* * [The BSD 3-Clause License] * Copyright (c) 2015, Samuel Suffos * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyrig...
using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; public partial class HomeController : MyController { [Route("")] public IActionResult Index() { //Sets the variable so the includes of css and js will pull through ViewData["homePage"] = true; return this....
namespace MvcMarket.FrontEnd.Models { using System; using System.Net.Mail; using System.Text; public class EmailOrderSubmitter { private const string MailSubject = "New order submitted!"; private readonly string _mailFrom; private readonly string _mailTo; private rea...
using JetBrains.Annotations; namespace BuildNotifications.PluginInterfaces.SourceControl { /// <summary> /// Contains information about a PullRequest /// </summary> [PublicAPI] public interface IPullRequest : IBranch { /// <summary> /// User entered description of the PR. ...
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Robotify.AspNetCore { public class RobotifyMiddleware : IMiddleware { private readonly IRobotifyContentWriter writer; public RobotifyMiddleware(IRobotifyContentWriter writer) { this.writer ...
using System; using static BulletSharp.UnsafeNativeMethods; namespace BulletSharp { public class ConstraintSolverPoolMultiThreaded : ConstraintSolver { public ConstraintSolverPoolMultiThreaded(int numSolvers) { IntPtr native = btConstraintSolverPoolMt_new(numSolvers); InitializeUserOwned(native); } } ...
// <copyright file="ListExtensions.cs" company="federrot Software"> // Copyright (c) federrot Software. All rights reserved. // </copyright> // <summary>Defines the Atom.Collections.ListExtensions class.</summary> // <author>Paul Ennemoser</author> namespace Atom.Collections { using System; using System.C...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Text; namespace Microsoft.SqlTools.ServiceLayer.UnitTests.Messaging { public class Common { public const string TestEventString = @...
namespace IntraSoft.Data.Dtos.IsoCategory { using IntraSoft.Services.Mapping; using IntraSoft.Data.Models; public class IsoFileCategoryReadDto : IMapFrom<IsoFileCategory> { public int Id { get; set; } public string Name { get; set; } } }
 using System.Threading; using System.Threading.Tasks; using ProjectName.DomainName.Application.Commands.AddressCommands; using ProjectName.DomainName.Application.ViewModels; using ProjectName.DomainName.Domain.Interfaces.Repository; using ProjectName.Shared.Bus.Abstractions; namespace ProjectName.DomainName.Handler...
using FlasherWeb.Services.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FlasherWeb.Pages.Models { public class IndexPage { public FlashCard FlashCard { get; set; } = new FlashCard(); public List<FlashCard> FlashCards { get; s...
using Google.Maps.Examples.Shared; using UnityEngine; namespace Google.Maps.Examples { /// <summary> /// Example demonstrating the use of Nine-Sliced <see cref="Material"/>s for better building /// texturing. /// </summary> /// <remarks> /// Uses <see cref="DynamicMapsService"/> component to allow navigati...
using System; using System.Linq; using System.Net; using System.Security.Cryptography; namespace AuthService.Model { public class Account { private Account() { } public Account(string login, string password, UserRole role) { ValidateLogin(login); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RobofestWTE.Models { public class TeamDetailsModel { public string TeamName; public int TeamNumberBranch; public int TeamNumberSpecific; public string Location; public string ...
using UnityEngine; namespace Player { public static class InputController { public static Vector2 GetPlayerMovement() { var horizontal = Input.GetAxis("Horizontal"); var vertical = Input.GetAxis("Vertical"); var movement = new Vector2(horizontal, vertical); if (movement.sqrMagnitude > 1) { ...
@{ Register Src="../UI/FunctionTitleBar.ascx" TagName="FunctionTitleBar" TagPrefix="uc6" } @{ @ Register Src="../Common/DataModelContainer.ascx" TagName="DataModelContainer" TagPrefix="uc8"} <asp:Button ID="btnAdd" runat="server" Text="新增料品" class="btn" OnClick="btnAdd_Click" /> <asp:Button ID="btnQuery" runat="s...
using System; using UnityEditor; using UnityEngine; using InternalRealtimeCSG; using RealtimeCSG.Legacy; namespace RealtimeCSG { internal static class ShapeUtility { #region CheckMaterials public static bool CheckMaterials(Shape shape) { return shape.CheckMaterials(); } #endregion #region EnsureInit...
using UnityEngine; using System.Collections; public class Armor : Item { public Armor(){ addHealth = 10; name = "Angel Angst My"; descript = "op"; } public Armor(string givenName, string givenDescript, int givenHealth, string givenImagePath){ name = givenName; addHealth = givenHealth; descript = give...
using UnityEngine; public class CurvePointControl : MonoBehaviour { public int objectNumber; public GameObject controlObject; public GameObject controlObject2; void OnMouseDrag () { transform.position = DrawCurve.cam.ScreenToViewportPoint (Input.mousePosition); DrawCurve.use.UpdateLine (objectNumber, Input....
//////////////////////////////////////////////////////////////////////////// // <copyright file="UserManager.cs" company="Intel Corporation"> // // Copyright (c) 2013-2015 Intel Corporation  // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
using FluentAssertions; using Microsoft.Extensions.Configuration; using Xunit; namespace Moq.Microsoft.Configuration.Tests.Utils.ConfigurationSectionTests; public sealed class ConfigurationSectionShould : ConfigurationSectionTestsBase { [Fact] public void HaveNoChildren() { var result = CreateClass() .GetChi...
 @{ Layout = "_Layout"; } <!DOCTYPE html> <html> <body> <script> //add call to microsoftTeams here.gi </script> @{ <section style="width: 100%; display: table"> <div style="display:table-row"> <div style="width: auto; display:table-cell;"> ...
using UnityEngine; using System.Collections.Generic; public class HTTP : MonoBehaviour { public delegate void HTTPCallback(WWW a_Request); struct RequestWithCB { public RequestWithCB(WWW a_Request, HTTPCallback a_Callback, bool a_Important) { Request = a_Request; C...
using UnityEditor; using UnityEngine; using ProceduralWorlds.Node; using ProceduralWorlds.Editor; namespace ProceduralWorlds.Editor { [CustomEditor(typeof(NodeCurve))] public class NodeCurveEditor : BaseNodeEditor { NodeCurve node; const string notifyKey = "curveModify"; public override void OnNodeEnab...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AvataItem : MonoBehaviour { public Text m_AvataPriceText; public int m_AvataIdx; public int m_AvataPrice; private void Start() { if (m_AvataPriceText) m_AvataPrice...
using System; using System.Threading; using System.Windows.Forms; namespace Terraria.ModLoader.Setup { public interface ITaskInterface : IWin32Window { void SetMaxProgress(int max); void SetStatus(string status); void SetProgress(int progress); CancellationToken CancellationToken(); object Invoke(Delegat...
using Microsoft.AspNetCore.Mvc; using PlakDukkani.BLL.Abstract; using PlakDukkani.BLL.Concrete.ResultServiceBLL; using PlakDukkani.ViewModel.AlbumViewModels; using PlakDukkani.ViewModel.Constrains; using System.Collections.Generic; namespace PlakDukkani.UI.MVC.Controllers { public class HomeController : Controlle...
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Rebus.Pipeline; using SafeRebus.Abstractions; using SafeRebus.Config; namespace SafeRebus.RebusSteps.IncomingSteps { public class HandleDatabaseTransactionIncomingStep : IIncomingStep { public async Task P...
using System; using System.Windows.Forms; using System.Data; public class Form1: Form { protected TextBox textBox1; // <Snippet1> private void PrintListItems() { // Get the CurrencyManager of a TextBox control. CurrencyManager myCurrencyManager = (CurrencyManager)textBox1.BindingContext[0]; // Presumi...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ExceptionDemo { class MyCustomException : ApplicationException { public MyCustomException() { } public MyCustomExce...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; namespace DFC.App.JobProfile.CurrentOpportunities.ViewModels { [ExcludeFromCodeCoverage] public class BodyApprenticeshipsViewModel { [Display(Name = "Apprenticeships")] pub...
using System; namespace SpectabisUI.Controls.AnimatedImage.Decoding { public class GifFrame { public bool HasTransparency, IsInterlaced, IsLocalColorTableUsed; public byte TransparentColorIndex; public int LZWMinCodeSize, LocalColorTableSize; public long LZWStreamPosition; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Text; using System.Windows.Forms; using 自定义Uppercomputer_20200727.Nlog; using static 自定义Uppercomputer_20200727.AutoSizeFormClass; namesp...
using Prism.Events; namespace ioList.Module.Import { public class ImportCompleteEvent : PubSubEvent { } }
 namespace Associativy.Services { /// <summary> /// Contains services that are specific to a graph. /// </summary> public interface IGraphServices { /// <summary> /// Service for generating associations /// </summary> IMind Mind { get; } /// <su...
using System.Data.Common; namespace NWrath.Logging { public interface IDbLogSchema { string ConnectionString { get; set; } string InitScript { get; } string TableName { get; } IDbLogColumnSchema[] Columns { get; } string BuildInsertQuery(LogRecord record); ...
using UnityEngine; using UnityEditor; namespace InkFungus { class MenuItemsCreator { private static GameObject SpawnPrefab(string prefabName) { GameObject prefab = Resources.Load<GameObject>("Prefabs/" + prefabName); if (prefab == null) { ...
namespace AspNetCoreWeb { using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; public static class HttpClientExtensions { public static async Task<HttpResponseMessage> PutJsonAsync( this HttpClient client, string requestU...
/* * * Mikrotron camera support * * Make sure to use NI Camera File Generator to put the Serial termination string to \n * Tested with EoSens CL MC1362 * * * Default baud rate: 9600 * Termination char: \r (0x0D) Carriage Return * * Responses: ACK (0x6) on success. NAK (0x15) for unrecognized commands o...
using TekConf.Core.ViewModels; namespace TekConf.Pages { public class LoginPageBase : ViewPage<LoginViewModel> { } public partial class LoginPage : LoginPageBase { public LoginPage() { InitializeComponent(); } } }
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; namespace Sortingtime.Infrastructure { public static class CalenderExtensions { public static DateTime FirstDayOfWeek(this DateTime from) { var startDate = f...
// Copyright (c) Amer Koleci and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. namespace Vortice.Direct2D1.Effects { public sealed class Posterize : ID2D1Effect { public Posterize(ID2D1DeviceContext context) : base(context...
//----------------------------------------------------------------------------- // <copyright file="ODataHttpContentExtensions.cs" company=".NET Foundation"> // Copyright (c) .NET Foundation and Contributors. All rights reserved. // See License.txt in the project root for license information. // </copyright>...
// Copyright 2020 - 2021 Vignette Project // Licensed under MIT. See LICENSE for details. // This software implements Live2D. Copyright (c) Live2D Inc. All Rights Reserved. // License for Live2D can be found here: http://live2d.com/eula/live2d-open-software-license-agreement_en.html using NUnit.Framework; using System...
namespace Ninject.Extensions.Interception.Fakes { public class ImplicitDerived : Base, IDerived { void IDerived.DoDerived() { } } }
using NgxLib; using Prototype.Components; namespace Prototype.Systems { public class AnimationSystem : TableSystem<Animator> { protected NgxTable<Sprite> SpriteTable { get; private set; } public override void Initialize() { SpriteTable = Database.Table<Sprite>(); }...
// Copyright (c) 2018 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.Collections.Specialized; using System.IO; //from Paul Welter: http://weblogs.asp.net/pwelter34/archive/2006/02/08/create-a-relative-path-code-snippet.aspx namespace...
namespace Bari.Core.Build.MergingTag { public interface IMergingBuilderTag { } }
using System; using System.Collections.Generic; #nullable disable namespace ToHDL.Entities { public partial class Hero { public int Id { get; set; } public string HeroName { get; set; } public int Hp { get; set; } /// <summary> /// This property is a fk reference to t...
using System.Runtime.Serialization; namespace LM.Responses { [DataContract] public class Maybe<TValue> { Maybe() { } Maybe(TValue value) => Value = value; public static Maybe<TValue> Create(TValue value) => new Maybe<TValue>(value); public static Maybe<TValue> Create() =...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class One_Way_Platforms : MonoBehaviour { PlatformEffector2D effector; void Start(){ effector = GetComponent<PlatformEffector2D>(); } // When holding down, the player can fall through the one ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Common.Core; using Microsoft.Common.Core.IO;...
using Borg.Platform.Azure.Cosmos; using System; namespace Borg.Platform.Azure.Tests { public class Emulator { static Emulator() { CosmosConnection = new DocDbConfig() { Endpoint = "https://localhost:8081/", AuthKey = "C2y6yDjf5/R+ob0N8A7C...
using Reactive.Bindings; namespace SandBeige.MediaBox.Composition.Interfaces.Models.TaskQueue.Objects { /// <summary> /// タスク状態オブジェクト /// </summary> public class StateObject { /// <summary> /// タスク名 /// </summary> public IReactiveProperty<string> Name { get; } = new ReactiveProperty<string>(); } }
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; namespace Divergent.ITOps.ViewModelComposition { public class CamelCaseToPascalSettings { static JsonSerializerSettings settings; static CamelCaseToPascalSettings() { settings = n...
using System; using System.Collections.Generic; namespace Amazon.Core.DataStructures { public class LinkedListTest { public static void Run() { var list = new LinkedList<string>(); list.AddLast("last item"); list.AddFirst("first item"); var item...
// Copyright (c) Drew Noakes and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; using static MetadataExtractor.Formats.Wav.WavFormatDirectory; namespace MetadataExtractor...
using System; using System.Collections.Generic; using System.Text; namespace Inheritance.Lab01.Sample.Solution { class Rectangle : FourSidedFigure { public int Height; public int Width; public override int Area() { return base.CalculateAreaOfRectangularFourSidedFig...
using AltV.Net.Shared.Elements.Entities; namespace AltV.Net.Client.Elements.Interfaces { public interface IBaseObject : ISharedBaseObject { new ICore Core { get; } public void Remove(); } }
using Mediator.Colleague; namespace Mediator.Mediator { public interface IFacebookGroupMediator { void SendMessage(string msg, User user); void RegisterUser(User user); } }
namespace SnipInsight.Forms { public partial class Styles { public Styles() { this.InitializeComponent(); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Magic.Data; using Magic.IO; using Magic.Net.Security; namespace Magic.Net.Packets.Server { [PacketIdentifier(0x02, PacketType.ServerPacket)] public class SMKeyS02 : GamePacket<ConnectionInfo> { ...
using System; using System.Linq; using Foundation; using Toggl.Daneel.Cells.Calendar; using Toggl.Foundation.MvvmCross.Collections; using Toggl.Foundation.MvvmCross.ViewModels.Selectable; using UIKit; namespace Toggl.Daneel.ViewSources { public sealed class SelectUserCalendarsTableViewSource : ReactiveSec...
using System; using UnityEngine; [CreateAssetMenu(fileName = "New BoolVariable", menuName = "Blackboard/Variables/Bool", order = 0)] public class BoolVariable : BlackboardVariable { public bool value; private bool valueSnapshot; public override BVarSave CreateSave() { return new BVSBoolVariab...
using System; namespace Wxl.Extensions.StringExtensions { public static class StringLengthExtensions { /// <summary> /// Determine if length of a given string is shorter than a given length /// </summary> /// <exception cref="ArgumentException">Thrown when <paramref name="lengt...
#region License // Copyright 2017 Tua Rua Ltd. // // 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; using AeroSharp.DataAccess; using AeroSharp.DataAccess.Policies; using FluentAssertions; using NUnit.Framework; namespace AeroSharp.UnitTests.DataAccess.Policies { [TestFixture] [Category("Aerospike")] public class InfoConfigurationToInfoPolicyMapperTests { [Test] public ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using BusinessLayer.DataTransferObjects; using BusinessLayer.DataTransferObjects.Filters; using BusinessLayer.QueryObjects; using BusinessLayerTesting.QueryObjectsTests.Common; using EntityDatabase; using NUnit.Framework; using WCIWT.Infrastr...