content
stringlengths
23
1.05M
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Serilog.Context; namespace Trill.APIGateway.Framework { internal class LogContextMiddleware : IMiddleware { private readonly CorrelationIdFactory _correlationIdFactory; public LogContextMiddleware(CorrelationIdFactory correla...
namespace Algorithms { using System; public static class BubbleSort { public static void Sort<T>(T[] collection) where T : IComparable<T> { bool flag = false; for (int i = 0; i < collection.Length - 1; i++) { for (int j = 0; j < collectio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RBXAPI { public class GroupRole { internal uint _gid; #region Constructors internal GroupRole(uint gid) { _gid = gid; } #endregion #region Properties public string Name { get; internal set; } public ...
using System.Net; using System.Net.Http.Json; using System.Net.Mime; using System.Text; using System.Text.Json; using CustomerService.Domain.CustomerAggregate; using CustomerService.Repositories; using EventDriven.Sagas.Configuration.Abstractions.DTO; using InventoryService.Domain.InventoryAggregate; using InventorySer...
using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace Cinemachine.Editor { [CustomEditor(typeof(CinemachineTrackedDolly))] internal sealed class CinemachineTrackedDollyEditor : BaseEditor<CinemachineTrackedDolly> { protected override void GetExcludedPropertiesInInspector...
using UnityEngine; using UnityEngine.SceneManagement; namespace Assets.Arthur.Scripts { public class IntroManager : MonoBehaviour { private float _delayBeforeLoading = 4f; [SerializeField] private string _sceneToLoad; private float timeElapsed; void Update() { ...
using System; using UnityEngine; public class ColorPreset : BaseLabelStylePreset { public Color color; public ColorPreset(Color col) { this.color = col; } }
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// Known workspace kinds /// </summary> public static ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NAudio.Wave; using MathNet.Numerics; using MathNet.Numerics.IntegralTransforms; using System.Numerics; namespace AudioLib { public class Analyzer { static readonly int WindowSize = 512; stat...
namespace Moo2U.Services { using System; using System.Collections.Generic; using Moo2U.Model; using SQLite; public class CustomerService : ICustomerService { readonly SQLiteConnection _cn; public CustomerService(ISQLiteConnectionService sqLiteConnectionService) { if (...
using System; using Microsoft.AspNetCore.Http; namespace GraphQL.Upload.AspNetCore { /// <summary> /// Options for <see cref="GraphQLUploadMiddleware{TSchema}"/>. /// </summary> public class GraphQLUploadOptions { /// <summary> /// The maximum allowed file size in bytes. Null indic...
using System; using Blumind.Core; using Blumind.Model; namespace Blumind.Model.MindMaps { delegate void TopicEventHandler(object sender, TopicEventArgs e); class TopicEventArgs : EventArgs { Topic _Topic; ChangeTypes _Changes; public TopicEventArgs(Topic topic) { ...
using ArcanaErp.Core.Interfaces.Models.BaseErpServices; namespace ArcanaErp.Core.Models.Erp { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; using Lambda; pub...
using System; using System.Drawing; using Northwoods.Go; namespace ThreatsManager.Extensions.Panels.Diagram { [Serializable] public sealed class WarningMarker : GoImage { public WarningMarker() { Printable = false; Resizable = false; Deletable = false; ...
@model Redoak.Backoffice.Areas.Customer.Models.CustomerManage.CreateModel <form asp-controller="CustomerManage" asp-action="Create" asp-area="Customer" data-ajax="true" data-ajax-method="POST" data-ajax-success="Edit.CreateCallBack" data-ajax-failure="Edit.CreateBackError">...
namespace MyVote.Services.AppServer.Models { public sealed class PollResultItem { public string OptionText { get; set; } public int PollOptionID { get; set; } public int ResponseCount { get; set; } } }
using Delivery_System_Project.Reportes.CrystalReports; using DeliverySystem.Libreria.Librerias; 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; namespac...
namespace Root.Coding.Code.Api.E01D.Memory { public class CharArrayPoolApi: ArrayPoolApi_I<char> { public char[] Rent(int minimumLength) { // use System.Buffers shared pool return System.Buffers.ArrayPool<char>.Shared.Rent(minimumLength); } public void R...
namespace ShallowDeepCopy { class Blog { public string URL { get; set; } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace CypherBot.Core.Models { public class Creature { public int CreatureId { get; set; } public string Name { get; set; } public int Level { get; set; } ...
using System; using System.Globalization; using System.Windows.Data; namespace VirtualBingo.UI.Shared.Converters { public class HeightToFontSizeForHeaderConverter : IValueConverter { private const double StartFontValue = 16; public object Convert(object value, Type targetType, object paramete...
using FluentValidation; using NerdBudget.Core.Models; namespace NerdBudget.Core.Validators { /// <summary> /// Represents a basic validator for Budget /// </summary> public class BudgetValidator : AbstractValidator<Budget> { public BudgetValidator() { CascadeMode = Casca...
using Microsoft.Xna.Framework; namespace OpenVIII { public partial class Module_main_menu_debug { #region Classes public abstract class IGMDataItem//<T> { //protected T _data; protected Rectangle _pos; public bool Enabled { get; private set; } = tru...
using System.Collections.Generic; using UnityEngine; namespace Prototype.Utils { public static class ObjectPool { public static void Release<T>(T obj) where T : new() => ObjectPool<T>.Release(obj); } public static class ObjectPool<T> where T : new() { ...
 namespace Prolliance.Membership.DataTransfer.Models { /// <summary> /// 权限对象操作表模型(唯一条件:AppKey + TargetCode + Code) /// </summary> public class OperationInfo : ModelBase { public string AppId { get; set; } /// <summary> /// TargetCode 用于指定操作属于那个权限对象,必须指定 /// </summar...
using GraphQL.Types; using Microsoft.Extensions.Localization; using OrchardCore.Apis.GraphQL.Queries; using OrchardCore.Lists.Models; namespace OrchardCore.Lists.GraphQL { public class ContainedInputObjectType : WhereInputObjectGraphType<ContainedPart> { public ContainedInputObjectType(IStringLocalizer...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(BoxCollider2D))] public class CharacterController2D : MonoBehaviour { // Move player in 2D space public float maxSpeed = 3.4f; public float jumpHeight = 6.5f; ...
namespace Seq.Api.Model.Monitoring { public enum MeasurementDisplayPalette { Default, Reds, Greens, Blues } }
using Depot.Api.Repositories; using Microsoft.AspNetCore.Mvc; namespace Depot.Api.Controllers { [Route("[controller]")] public class LogsController : Controller { private readonly ILogRepository _repository; public LogsController(ILogRepository repository) { _repository ...
// Copyright (c) 2022, Olaf Kober <olaf.kober@outlook.com> using System; namespace Amarok.Contracts; /// <summary> /// This type serves the infrastructure and is not intended to be used directly. /// </summary> internal static class ExceptionResources { /// <summary> /// Looks up a localized strin...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using ValidationApplication.Models; namespace ValidationApplication.Pages { public class CreateBoo...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Xunit; namespace GCTest_selfref_cs { public class Test { [Fact] public static int TestEntryPoint() { object aref = nu...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable enable using System; using System.Runtime.InteropServices; using System.Runtime.Versioning; internal static partial class Interop { internal static partial class Sys ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cafeteria { class Customer { private int customerID; private decimal customerBalance; public int CustomerId { get { return customerID; } } public decima...
@model Sunkist.FeaturedItemSlider.Models.FeaturedItemSliderWidgetEditViewModel <div> <fieldset> <label for="GroupName">Featured Item Group:</label> @Html.DropDownList("GroupName", new SelectList(Model.GroupNames, Model.SelectedGroup)) </fieldset> </div>
using NUnit.Framework; using TestStack.White.UIItems; namespace TestStack.White.UITests.ControlTests.Table { [TestFixture(WindowsFramework.WinForms)] public class TableRowsTests : WhiteUITestBase { private UIItems.TableItems.Table table; public TableRowsTests(WindowsFramework fra...
@using TimeTracker.Managers.Models @model Activity <a href='@Url.Action("Index", "Logs")'><< Back to Logs</a> <h1>Edit Activity</h1> <form action='@Url.Action("Edit")' method="POST"> <div class="form-group"> <input class="form-control" type="text" name="name" placeholder="Activity Name" value="@Model.Nam...
using Blobs.Entities; namespace Blobs.Interfaces { public interface IBehavior { bool IsTriggered { get; } void Trigger(Blob source); void ApplyPostTriggerEffect(Blob source); } }
@{ Layout="Shared/_Layout"; } @if(Model["form-type"] == "cuisine-delete") { <div class="container"> <h1>Delete Cuisine</h1> <hr/> <h2>Are you sure you want to delete this cuisine and all of its restaurants?</h2> <h4>@Model["cuisine"].GetName()</h4> <form action='/cuisine/delete/@Model["cuisine...
using System; using System.Collections.Generic; using System.Text; namespace FileAndFolderDialog.Abstractions { public interface IFolderDialogService { /// <summary> /// Displays a common dialog box that allows a user to select a folder /// </summary> /// <param name="options">...
using System; using MicrowaveOvenClasses.Interfaces; namespace MicrowaveOvenClasses.Controllers { public class CookController : ICookController { // Since there is a 2-way association, this cannot be set until the UI object has been created // It also demonstrates property dependency injection...
using UnityEngine; public class AddPotion : MonoBehaviour { public void AddOnePotion(PlayerController playerController) { if (playerController.TryGetComponent<HealthPotion>(out var health)) { health.Add(); var pickupDisplay = health.GetComponentInChildren<PickupDisplay>...
using SqExpress.StatementSyntax; namespace SqExpress.Syntax.Internal { internal class ExprStatement : IExprExec { public ExprStatement(IStatement statement) { this.Statement = statement; } public IStatement Statement { get; } public TRes Accept<TRes, TArg>...
namespace Northwind.Services.Contracts { public interface IConfigurationService { string NorthwindApiUrl { get; set; } } }
using System.Collections.Generic; namespace RTSFramework.Core.Models { public class CSharpFilesProgramModel : CSharpProgramModel { public List<CSharpFileElement> Files { get; } = new List<CSharpFileElement>(); } }
@{ Layout = "~/Views/Shared/_LayoutAlternate.cshtml"; } <h2>Angular Basic (New Version)</h2> <div class="container" ng-controller="mainController as main"> <p> {{main.myMessage}}</p> <button type="button" data-ng-click="main.changeMessage()">Change Message</button> </div> @section scripts ...
namespace AvoCommLib { namespace Enums { public enum Models { HP_3x1x16 = 8, Dell_2161DS = 12, BlackBox_KV121A_E = 15 } } }
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using transactions.core.Model; using transactions.core.Repository; namespace transactions.fileDB.Repository { public class InvoiceRepository : IInvoiceRepository { ...
using System; using System.Collections.Generic; public sealed class BinaryHeap<T> : IReadOnlyCollection<T> { private readonly List<T> _list; private readonly Func<T, T, int> _compare; public BinaryHeap(List<T> list, Func<T, T, int> compare) { _list = list; _compare = compare; }...
using SimplePhotoViewer.UI; namespace SimplePhotoViewer { public partial class App { public App() { var b = new AppBootstrapper(); } } }
using Nemerle.Internal; namespace Nemerle.Core { public static class ValueOptionStatic { public static ValueOption<T> VSome<T>(T value) { return new ValueOption<T>(value); } public static ValueOption<T> VNone<T>() { return default(ValueOption<T>)...
namespace BTDB.KVDBLayer { interface IChunkStorage { IChunkStorageTransaction StartTransaction(); } }
using RestSharp.Tests.Integrated.Fixtures; namespace RestSharp.Tests.Integrated; [Collection(nameof(TestServerCollection))] public class UploadFileTests { readonly RestClient _client; readonly string _path = AppDomain.CurrentDomain.BaseDirectory; public UploadFileTests(TestServerFixture fixture) => _...
using System.Collections.Generic; namespace CLAP { /// <summary> /// A verb execution context /// </summary> public class VerbExecutionContext { /// <summary> /// The method that is executed /// </summary> public Method Method { get; private set; } /// <sum...
using System; using Xamarin.Forms.Platform.iOS; using MonoTouch.UIKit; using OxyPlot; using OxyPlot.XamarinIOS; using OxyPlot.Series; using System.Collections.Generic; using System.Drawing; using OxyPlotDemo; using OxyPlotDemo.iOS; using Xamarin.Forms; using System.ComponentModel; [assembly: ExportRenderer (typeof (...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ExampleApp.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ExampleApp.Pages { public cla...
namespace NextGenSoftware.Holochain.HoloNET.Client.MessagePack { public enum DateTimePackingFormat { Extension, String, Epoch, } }
/* ******************************************************************** * * 曹旭升(sheng.c) * E-mail: cao.silhouette@msn.com * QQ: 279060597 * https://github.com/iccb1013 * http://shengxunwei.com * * © Copyright 2016 * ********************************************************************/ using Sheng.W...
using Abp.Application.Services; using BriefShop.UserDetails.Dto; using System.Threading.Tasks; namespace BriefShop.UserDetails { public interface IUserDetailAppService: IApplicationService { Task UpdateUserLastVisit(UpdateUserLastVisitInput input); } }
using Ocelot.Configuration.Creator; using Shouldly; using Xunit; namespace Ocelot.UnitTests.Configuration { public class IdentityServerConfigurationCreatorTests { [Fact] public void happy_path_only_exists_for_test_coverage_even_uncle_bob_probably_wouldnt_test_this() { var re...
namespace GSMailApi.Model.Files.Tasks { class DIFile { } }
// Copyright (c) 2012-2015 Sharpex2D - Kevin Scholz (ThuCommix) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the 'Software'), to deal // in the Software without restriction, including without limitation the rights // to use, ...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Rhino.Mocks; using StickEmApp.Entities; using StickEmApp.Windows.Builders; namespace StickEmApp.Windows.UnitTest.Builders { [TestFixture] public class VendorListItemBuilderTestFixture { private VendorLi...
namespace AcrylicKeyboard.Interaction { public enum KeyModifier { None, Shift, Ctrl, Alt, Special } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; names...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Platform.WindowManagement; using Microsoft.VisualStudio.PlatformUI.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudi...
using System; using System.Collections; using System.Data; using System.Linq; using AutoFixture; using Moq; using Netsoft.Glaucus.Moq.Tests; using Netsoft.Glaucus.Providers; using Xunit; namespace Netsoft.Glaucus.Tests { public class DbEngineTest { private readonly DbEngine target; private readonly Fixture fixtu...
using LH.Dhcp.Serialization; using LH.Dhcp.UnitTests.Extensions; using Xunit; namespace LH.Dhcp.UnitTests.Serialization { // ReSharper disable once InconsistentNaming public class DhcpBinaryReader_CanReadWithLengthShould { private static readonly byte[] TestBytes = "00112233445566778899aabbccddeef...
namespace uScoober.Hardware.Boards { internal interface IDuinoAnalogChannels { AnalogChannel PinA0 { get; } AnalogChannel PinA1 { get; } AnalogChannel PinA2 { get; } AnalogChannel PinA3 { get; } AnalogChannel PinA4 { get; } AnalogChannel PinA5 { get; } }...
/* * Copyright 2013-2018 Guardtime, Inc. * * This file is part of the Guardtime client SDK. * * 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/licens...
using System; namespace Atata.WebDriverSetup { /// <summary> /// Represents the Chrome driver (<c>chromedriver.exe</c>/<c>chromedriver</c>) setup strategy. /// </summary> public class ChromeDriverSetupStrategy : IDriverSetupStrategy, IGetsDriverLatestVersion, IGetsInstalledBrow...
using System; namespace ShereSoft { partial class Zip2City { static readonly ulong[] CS11000 = { 139896848976413822, 124044943029540018, 656365672611880840, 1132984173435555269, 455573430536181318, 510673640216794533, ...
using UnityEngine; using System.Collections; public class PowerUpScript : MonoBehaviour { Sprite p1; Sprite p2; Sprite p3; public int type; public float lifeSpan = 10.0f; WeaponTypeScript weaponTypeScript; void Start () { weaponTypeScript = GameObject.Find("Wea...
namespace EasyCaching.SQLite { /// <summary> /// Const sql. /// </summary> public static class ConstSQL { /// <summary> /// The setsql. /// </summary> public const string SETSQL = @" DELETE FROM [easycaching] WHERE [cachekey] = @cachekey AND [name]=@n...
using System.Collections.Generic; using Microsoft.IdentityServer.Web.Authentication.External; namespace AdfsTotpAuthenticationProvider { internal class AuthenticationAdapterMetadata : IAuthenticationAdapterMetadata { public string AdminName => "AdfsTotpAuthenticationProvider"; public string[] ...
using LiteDB; using Microsoft.AspNet.Identity; using System; namespace AspNet.Identity.LiteDB { public class IdentityRole : IRole<string> { [BsonId] public string Id { get; private set; } public string Name { get; set; } public IdentityRole() { this.Id = ObjectId.NewO...
using Ivvy.Json; using Newtonsoft.Json; using System; namespace Ivvy.Venue.Bookings { /// <summary> /// A daily rate for an accommodation room reservation on an iVvy venue booking. /// </summary> public class RoomReservationDayRate : ISerializable { [JsonProperty("dayDate")] public ...
// <copyright> // Licensed under the MIT license. See the LICENSE.md file in the project root for full license information. // </copyright> namespace Geode.Models { /// <summary> /// An email address. /// </summary> public class Email : Entity { /// <summary> /// Gets or sets a valu...
using NakedBank.Shared; using System.Collections.Generic; using System.Linq; namespace NakedBank.Domain { public class BaseDomain { public bool HasErrors => Errors.Any(); public List<BusinessError> Errors { get; private set; } public BaseDomain() { Errors = new Li...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class SpheresManager : MonoBehaviour { public int lives; public float minSpeed; public float maxSpeed; public float intervalTime; public Transform xMax; ...
/* | Version 10.1.84 | Copyright 2013 Esri | | 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 o...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditor.AssetImporters; using System; using System.Reflection; [ExcludeFromPreset] public class CustomizeAssetImporter : AssetImporter { }
using System.Collections.Generic; using System.Globalization; using System.Text; namespace Prodest.Certificado.ICPBrasil.Certificados { internal class Asn1Helper { private byte[] rawData; public readonly List<Tag> TagList; public Asn1Helper(ref byte[] rawData) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Verivox { public class ProductA : Product { public ProductA() { } public ProductA (string name) : base(name) { } public overri...
using UnityEngine; public class HintEasy : MonoBehaviour { public static void ShowHint() { var belts = GameObject.FindGameObjectsWithTag("Belt"); foreach (var belt in belts) { var correct = belt.gameObject.GetComponent<SwapBelts>().isCorrect; if (!correct) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CloudManager : MonoBehaviour { void OnDrawGizmosSelected() { Gizmos.matrix = transform.localToWorldMatrix; Gizmos.color = Color.blue; Gizmos.DrawCube(Vector3.zero, Vector3.one); Gizmos....
using System; using System.Collections.Generic; using System.Text; using System.Globalization; namespace SxGeoReader { public class SxGeoUnpack { private Dictionary<string, object> RecordData; private Dictionary<string, Type> RecordTypes; private Dictionary<string, string> SxTypeCodes; private Encoding Str...
namespace Flip { using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using FluentAssertions; using Moq; using Ploeh.AutoFixture; using Xunit; using static Moq.It; using static Moq.Times; public class StreamFactory_features { ...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Vita.Entities.Logging { public interface ILog { void AddEntry(LogEntry entry); } public interface IBufferedLog : ILog { IList<LogEntry> GetAll(); int ErrorCount { get;...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading.Tasks; namespace Kartrider.Api.Test.Endpoints.Match { [TestClass] public class GetMatchDetailTests : TestBase { [DataTestMethod] [DataRow("036e0001f656572a", DisplayName = "아이템 팀 배틀모드: 036e0001f656572...
using System; namespace PCG.Terrain.Core.DataTypes { [Flags] public enum CalculationIndicator : byte { Free = 0x00, Busy = 0x01 } public static class CalculationIndicators { public const CalculationIndicator Default = CalculationIndicator.Free; } }
using Korann.DAL.Contracts; using Korann.DAL.DTO; namespace Korann.DAL.Repositories { public class CategoryRepository : RepositoryBase<Category>, ICategoryRepository { protected override string CollectionName { get { return "categories"; } } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.Camping { class Camping { static void Main() { Dictionary<string, Dictionary<string, int>> data = new Dictionary<string, Dictionary<string, int>>(); ...
using Hydrazoid.Utils; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Hydrazoid { public class GameManager : Singleton<GameManager> { public PlayerCharacter Player { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Drawing; namespace KATYA { public partial class KATYAFile { public StatusObject DrawSomething() { StatusObject SO = new StatusObject(); ...
using SSW.DataOnion.CodeGenerator.Exceptions; using SSW.DataOnion.CodeGenerator.Helpers; using Xunit; namespace SSW.DataOnion.CodeGenerator.Tests.Unit { public class StringExtensionTests { [Fact] public void Test01_Pluralize_Typical_Input() { var input = "test"; ...
using System.Runtime.InteropServices; namespace Rocksmith2014PsarcLib.Psarc.Models.Sng { public struct Chord { public uint Mask; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)] public byte[] Frets; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)] public byte[...
using System; public class Geometry_Calculator { public static void Main() { var figureType = Console.ReadLine(); if (figureType == "triangle") { CalculateTriangleArea(); } else if (figureType == "square") { CalculateSquareArea(); ...
using System; namespace Dialog { public class DialogStuba { public DialogStuba () { } } }