content
stringlengths
23
1.05M
using System.Collections; using UnityEngine.UI; using UnityEngine; using UnityEngine.Events; public class AchievementSystem : Observer { public Image achievementBanner; public Text achievementText; [Space] public UnityEvent OnAchievementUnlocked; TileEvent cookiesEvent, cakeEvent, vitaminEvent,...
#if false #define SUPPORTS_LIGHTS #endif using System; using System.Collections.Generic; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using FlatRedBall.Content; using FlatRedBall.Graphics; using FlatRedBall.ManagedSpriteGroups; using FlatRedBall.Content.Scene; namespace FlatRedBall.C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Collections; using System.Dynamic; namespace Westwind.Utilities.Data { /// <summary> /// Extends the DataTable to provide access to DynamicDataRow /// data. /// </summary> public ...
namespace Blazorise { /// <summary> /// An <see cref="OrderedList"/> item created using the &lt;li&gt; element. /// </summary> public partial class OrderedListItem : BaseTypographyComponent { } }
using System; using System.Threading; using System.Threading.Tasks; class Test { public static int Main () { Task<int> t = TestMethod (); try { t.Start (); return 1; } catch (InvalidOperationException) { } try { t.RunSynchronously (); return 2; } catch (InvalidOperationException) { } C...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerManger : MonoBehaviour { public Vector3[] spawnPos; public GameObject prebPlayer; public int playerCount; private bool m_isCreate; private void OnEnable() { EventManager.me.AddEventLi...
namespace Distance.CustomCar.Data.Materials { public class MaterialPropertyExport { public string fromName; public string toName; public int fromID = -1; public int toID = -1; public PropertyType type; } }
// <copyright file="Report.cs" company="Krypton"> // MIT License // </copyright> // <author>Aleksandra92, DragnevaPavlina, alexizvely, The.Bager, pepinho24, grukov</author> namespace TelecommunicationProvider.Data.Exporters { using System; internal class Report { internal Report(int year, string...
using System.Windows; namespace Operations.Classification.WpfUi.Managers.Integration.GererMesComptes { /// <summary> /// Interaction logic for GmcManagerView.xaml /// </summary> public partial class GmcManagerView { public GmcManagerView() { InitializeComponent(); ...
using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Windows.Forms; using DpSdkEngLib; using DPSDKOPSLib; using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; using Sy...
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com //All rights reserved. namespace SassAndCoffee.JavaScript.ActiveScript { using System; [Flags] public enum ScriptProcedureFlags : uint { /// <summary> /// Indicates that the code in pstrCode is an expression that represen...
using SwaggerHeroes.Core.Data.Entities; using SwaggerHeroes.Core.Data.Repositories; namespace SwaggerHeroes.Persistence.Data.Repositories { public class HeroesRepository : Repository<Hero>, IHeroesRepository { public HeroesRepository(HeroesContext context) : base(context) { } } }
using System; using System.Runtime.InteropServices; using static CSharpConsoleProject.Global; namespace CSharpConsoleProject { public class Bar : IDisposable { private IntPtr _bar; private IntPtr _ibar; // hold reference against GC private ibar_get_number_callback _ibar_callback; public Bar() { _b...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using JetBrains.Annotations; namespace BenchmarkDotNet.Characteristics { public abstract class CharacteristicObject<T> : CharacteristicObject where T : CharacteristicObject<T>, new() { protected Charact...
using Google.Maps.Hosting.Builders; namespace Microsoft.Extensions.DependencyInjection { public static class Dependencies { public static IGoogleApiConfigurationBuilder AddGoogleMaps( this IServiceCollection services, ServiceLifetime serviceLifetime = ServiceLifetime.Scoped) ...
 using System.Linq; namespace Sample.Domain.Model.Customer.Queries { public class FetchCustomerAccountPassword { public string AccountId { get; set; } public FetchCustomerAccountPassword(string accountId) { AccountId = accountId; } public string Handle(IQu...
using NUnit.Framework; using System; using TheRace; namespace TheRace.Tests { public class RaceEntryTests { [SetUp] public void Setup() { } [Test] public void TestTheUnitCar() { var data = new UnitCar("M", 5, 6); Assert.AreEqual(...
using Ringo.Api.Data; using Ringo.Api.Models; using System; using System.Threading.Tasks; namespace Ringo.Api.Services { public class UserService : IUserService { private readonly ICosmosData<User> _userData; public UserService(ICosmosData<User> userData) { _userData = use...
namespace Cethleann.Structure.KTID { public struct RDBEntry { public DataType Magic { get; set; } public int Version { get; set; } public long EntrySize { get; set; } public long ContentSize { get; set; } public long Size { get; set; } public int Type { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharpEXR { public enum ImageDestFormat { RGB8, RGBA8, PremultipliedRGBA8, RGB16, RGBA16, PremultipliedRGBA16, RGB32, RGBA32,...
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace MeloncherAvalonia.Views.UserControls { public class LoadingBar : UserControl { public static readonly StyledProperty<string> TextProperty = AvaloniaProperty.Register<LoadingBar, string>("Text"); public static readonly StyledProperty<i...
using System; using System.Collections.Generic; using System.Text; namespace Mawor.Net.Interface { /// <summary> /// Transition is the link between identifiable objects. Commonly is used to link two Steps. /// </summary> /// <typeparam name="T">type of the identification of the transition</typeparam> ...
using System; using System.Collections.Generic; using System.Globalization; namespace ExplorerPCal.Hooks.Utils { public static class PersianDateHelper { public const char RightToLeftEmbedding = (char)0x202B; public static string ToShamsiDateTime(this DateTime info, bool includeHourMinute, boo...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace AE_RemapExceed { public partial class CmtAlign : UserControl { private RadioButton[] rb = new RadioButton[9]...
using System.ComponentModel.DataAnnotations; namespace Orckestra.Composer.Cart.Requests { public class CompleteCheckoutRequest { [Required] [Range(0, int.MaxValue - 1)] public int CurrentStep { get; set; } } }
// IJsonObject.cs // // Copyright (C) BEditor // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System.Text.Json; namespace BEditor.Data { /// <summary> /// Represents the object that can be stored in Json. /// </summary> ...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections; using ICSharpCode.Core; namespace ICSharpCode.UnitTesting { public class TestFramewo...
using DapperExtensions.Predicate; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace DapperExtensions.Sql { public class DB2Dialect : SqlDialectBase { public override string GetIdentitySql(string tab...
namespace SMS.Net.Channel.RavenSMS.Queues.InMemory; /// <summary> /// interface to identify the InMemory queue in DI /// </summary> public interface IInMemoryQueue { /// <summary> /// put the message in the queue to be processed /// </summary> /// <param name="messageId">the messageId</param> /// ...
//----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2.0 //-------------------------------------------------------------------------...
using RimWorld; using RimWorld.Planet; using Verse; namespace Blood_Pact_Ritual.BloodPactRitual { public class ThoughtWorkerPactDanger : ThoughtWorker { protected override ThoughtState CurrentStateInternal(Pawn p) { if (!p.Spawned && !p.IsCaravanMember()) { ...
using System; using System.Collections; using System.Collections.Generic; using Manager; using UnityEngine; public class GameData : MonoSingleton<GameData> { public GameObject SentryPrefab; public int StartCoins = 25; public int Coins; public int Level = 1; public TowerUpgrade Upgrade = new T...
using FastCommerce.Entities.Entities; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace FastCommerce.Business.OrderManager.Abstract { public interface IOrderManager { Task<bool> AddOrder(Order order); Task<bool> DeleteOrder(Order order);...
namespace Aviant.DDD.Core.Messages { using System.Collections.Generic; public interface IMessages { public void AddMessage(string message); public bool HasMessages(); public List<string> GetAll(); public void CleanMessages(); } }
using MinesweeperCheeto.Memory; using MinesweeperCheeto.Minesweeper; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; ...
// <auto-generated/> using System.Reflection; [assembly: AssemblyCopyrightAttribute("Copyright ©2013-2019 ICT Baden GmbH")] [assembly: AssemblyCompanyAttribute("ICT Baden GmbH")] [assembly: AssemblyProductAttribute("X-Platform and Web Application Framework")] [assembly: AssemblyVersionAttribute("3.6.0")] [assembly: A...
using System; using System.Text.Json.Serialization; namespace HanoiCollab.Models { public class Identity { [JsonPropertyName("Token")] public string Token { get; set; } [JsonPropertyName("Expiration")] public DateTime Expiration { get; set; } } }
using HotChocolate.Types; namespace HotChocolate.Configuration { public class SchemaOptions : ISchemaOptions { public string QueryTypeName { get; set; } public string MutationTypeName { get; set; } public string SubscriptionTypeName { get; set; } public bool StrictVal...
using System.Collections.Generic; using System.Xml.Serialization; namespace Nez.TiledMaps { public class TmxObjectGroup { [XmlAttribute( AttributeName = "offsetx" )] public float offsetx; [XmlAttribute( AttributeName = "offsety" )] public float offsety; [XmlAttribute( AttributeName = "name" )] public ...
using Forge.Entities; using UnityEngine; namespace Forge.Unity { /// <summary> /// A BaseContainer type that contains ITemplate instances. /// </summary> public class TemplateContainer : BaseContainer<TemplateContainer, ITemplate> { public ITemplate Template { get; priv...
using AdvantureWork.Common.Request; using AdvantureWork.ViewModels.Common; using System.Threading.Tasks; namespace AdvantureWork.Portal.Services.Interfaces { public interface ILoginApiClient { Task<ApiResult<string>> Authenticate(LoginRequest request); Task<ApiResult<bool>> Register(RegisterR...
using System; using OneOf; using TrueLayer.Serialization; using static TrueLayer.Payments.Model.PaymentMethod; namespace TrueLayer.Payments.Model { using PaymentMethodUnion = OneOf<BankTransfer>; /// <summary> /// Get Payment Response Types /// </summary> public static class GetPaymentResponse ...
namespace IdentityServer.Domain.Generic.Enums { public enum RoleEntity { NotSpecified = 0, Administrator = 1, SuperUser = 3, Client = 2, Vendor = 4 } }
using System; using System.IO; using System.Web; namespace System { /// <summary> /// Class MagicExt. /// </summary> public static class MagicExt { /// <summary> /// Gets a random Url in a folder. /// </summary> /// <param name="url">The URL of the folder where the file is searched</param> /// <param n...
using Devpoint.XeroProjectsApi.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Devpoint.XeroProjectsApi.Concretes { pu...
using System; using DataDynamics.PageFX.Common.TypeSystem; using DataDynamics.PageFX.Flash.Abc; namespace DataDynamics.PageFX.Flash.Core.SpecialTypes { internal sealed class VectorInstance : IVectorType { public VectorInstance(AbcFile abc, IType type) { if (type == null) ...
namespace AlchemyBow.Navigation.Surfaces { /// <summary> /// Describe the usage of an object. /// </summary> /// <typeparam name="TUser">The type of the user.</typeparam> public class Usage<TUser> where TUser : class { /// <summary> /// The user. /// </summary> /...
using System; namespace QiwiApiSharp.Entities { public class PassInfo { public bool? passwordUsed; public DateTime? lastPassChange; public DateTime? nextPassChange; } }
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Web.Razor.Parser.SyntaxTree; using System.Web.Razor.Resources; using System.Web.Razor.Test.Framework; using System.Web.Razor.Text; using Xunit; namespace System.Web.Razor.Test.Parser...
using System.Collections; using System.Collections.Generic; using System.Linq; namespace Kermalis.SudokuSolver.Core { public class Region : IEnumerable<Cell> { private readonly Cell[] _cells; public Cell this[int index] => _cells[index]; public Region(Cell[] cells) { ...
using UnityEngine; public class AlienCommandReceiver : MonoBehaviour { [SerializeField] AlienMeshFilterController meshFilterController; AlienLineController lineController; private void OnDestroy() { lineController.OnMoveCommand -= HandleMoveCommand; } public void AssignController(Alie...
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameManagerScript : MonoBehaviour { public Text scoreText; //ui text for score public Text healthText; //ui text for health public string playerName = "PlayerName"; public GameObject player; //...
using System; using RTSFramework.Contracts.Models; namespace RTSFramework.Core.Models { public class CSharpFileElement : IProgramModelElement { public string Id { get; } public Func<string> GetContent { get; } public CSharpFileElement(string filePath, Func<string> getContent) { ...
using System; using SmartGlass.Common; namespace SmartGlass.Messaging.Session.Messages { [SessionMessageType(SessionMessageType.Orientation)] internal class OrientationMessage : SessionMessageBase { public ulong Timestamp { get; set; } public float RotationMatrixValue { get; set; } ...
using rot13.domain; using Xunit; namespace rot13.tests { public class ROT13_tests { [Theory] [InlineData("Hello!", "Uryyb!")] [InlineData("", "")] [InlineData("A\nB\rC\tD E", "N\nO\rP\tQ R")] public void Encrypt(string text, string expected) { var res...
namespace FORCEBuild.Net.Remote.Buffer { internal class TransactionMessageMail { public TransactionMessageMail() { } } }
using Leto.Certificates; using System; using System.IO.Pipelines; using Leto.Internal; using System.Linq; namespace Leto.Handshake { public static class CertificateWriter { public static int GetCertificatesSize(ICertificate certificate) { var size = 3 * (certificate.CertificateChain...
using FirstFloor.ModernUI.Presentation; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FirstFloor.ModernUI.App { public class SampleFormViewModel : NotifyPropertyChanged, IDataErrorInfo { ...
using System; namespace PrefixDapperExample.Data { public class DbInitializer { private readonly ExampleDbContext _dbContext; public DbInitializer(ExampleDbContext dbContext) { _dbContext = dbContext; } public void Initialize() { _dbCon...
using SEDC.PizzaApp.DataAccess.Repositories; using SEDC.PizzaApp.DataAccess.Repositories.StaticDbRepositories; using SEDC.PizzaApp.Domain.Models; using SEDC.PizzaApp.Services.Services.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace SEDC.PizzaApp.Services.Services.Implementatio...
namespace CanoePoloLeagueOrganiser { public class AnalysedGame : Game { public bool HomeTeamPlayingConsecutively { get; } public bool AwayTeamPlayingConsecutively { get; } public AnalysedGame( Team homeTeam, Team awayTeam, bool homeTeamPlayingConsecu...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Optional; namespace AlphaDev.Core { public interface IBlogService { Task<Option<BlogBase>> GetLatestAsync(); Task<Option<BlogBase>> GetAsync(int id); Task<BlogBase> AddAsync(BlogBase blog); Ta...
using FileSenderLib.TFile; using System; using System.Net; using System.Net.Sockets; using System.Threading; namespace FileSenderLib.Sender { /// <summary> /// Allows to send files over the network using TCP. /// </summary> public class TcpSender { private const int BufferSize = 4096; ...
using System; using System.Collections.Generic; using System.Linq; using Spectre.Console; namespace to_the_moon { public class OptionPicker { private static void DisplayOptions<T>(List<T> options, string exitOption) { for (int i = 0; i < options.Count; i++) { ...
using System.Collections.Generic; using FubuCore; namespace FubuMVC.Core.Runtime.Files { /// <summary> /// Provides an abstraction to find files across the main application and all /// Bottles loaded into this application /// </summary> public interface IFubuApplicationFiles { ...
using Microsoft.Extensions.DependencyInjection; using Vls.Abp.Stan; using Volo.Abp; using Volo.Abp.EventBus; using Volo.Abp.Modularity; namespace Vls.Abp.EventBus.Stan { [DependsOn( typeof(AbpEventBusModule), typeof(AbpStanMqModule))] public class AbpEventBusStanMqModule : AbpModule { ...
namespace PaladinsAPI.Enums { public enum Tier : int { [System.ComponentModel.DescriptionAttribute ("Unranked (Qualifying)")] Unranked = 0, [System.ComponentModel.DescriptionAttribute ("Bronze V")] BronzeV = 1, [System.ComponentModel.DescriptionAttribute ("Bronze IV")] BronzeIV = 2, [System.Compon...
/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * ...
using System.Collections.Generic; using System.Linq; using FluentResults; using GraphQL; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using SGP.PublicApi.Models; using SGP.Shared.Errors; namespace SGP.PublicApi.Extensions { public static class FluentResultExtensions { private static...
using System.Runtime.CompilerServices; namespace Stashbox.Utils.Data { internal sealed class HashTree<TKey, TValue> { private class Node { public readonly int storedHash; public readonly TKey storedKey; public TValue storedValue; public Node left...
using System; using System.Collections.Generic; using System.Text; namespace TwitterSearchAPI.Models { public class NextPageMeta { public NextPageMeta(long minResult, long maxResult) { MinResult = minResult; MaxResult = maxResult; } public long MinResul...
using System.Windows; using System.Windows.Controls; using CosmosDbExplorer.ViewModels; namespace CosmosDbExplorer.Views.Pane { public class PaneStyleSelector : StyleSelector { public Style? ToolStyle { get; set; } public Style? DocumentStyle { get; set; } public override Style Select...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class BObject : SceneObject { public override void PerformAction(string action) { if (action.Contains("turn")) { StartCoroutine(SmoothTurn(180, 1, action)); ...
namespace NetFlow.Common.GlobalConstants { public class PostsConstants { public const int POST_TITLE_MIN_LENGTH = 3; public const int POST_TITLE_MAX_LENGTH = 100; public const int POST_MIN_DESCRIPTION_LENGTH = 10; public const int POST_MAX_DESCRIPTION_LENGTH = 1000; } }
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Xrm.Sdk; using FakeXrmEasy; namespace XrmSdkTests { [TestClass] public class PluginExtensionSettingsTests { [TestMethod] public void TestMethod1() { var contactId = Guid.NewGuid(); ...
using System; using System.Collections.Generic; using UnityEngine; // Token: 0x02000118 RID: 280 public class Room : MonoBehaviour { // Token: 0x060010A7 RID: 4263 RVA: 0x000767D0 File Offset: 0x000749D0 private void OnDrawGizmos() { Gizmos.color = new Color(0.5f, 0.5f, 0.5f, 0.5f); Gizmos.matrix = Matrix4x4.T...
using System; namespace MediaManager.Playback { public class BufferingChangedEventArgs : EventArgs { public BufferingChangedEventArgs(TimeSpan buffered) { Buffered = buffered; } public TimeSpan Buffered { get; } } }
namespace InstaCrops { /// <summary> /// This class contains the mod configuration values. /// </summary> public class ModConfig { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="ModConfig"/> class. /// </summary> public ModConfig() { } #endregion #region P...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using Backend.Models; using Backend.Repos; namespace Backend.Controllers { public class CursusController : ApiController { private ICursusRepository repo; ...
using azurecopy; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestUtils { // basic test program to iron out issues. // These aren't unit tests, are more integration tests but really just working samples. class Program { ...
// Copyright 2018 Ionx Solutions (https://www.ionxsolutions.com) // Ionx Solutions licenses this file to you under the Apache License, // Version 2.0. You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 using System; using System.Collections.Generic; using System.Linq; using System.Ne...
using System; using System.Net.Http; using FluentRest.Http.Configuration; namespace FluentRest.Http.Testing { /// <summary> /// IHttpClientFactory implementation used to fake and record calls in tests. /// </summary> public class TestHttpClientFactory : DefaultHttpClientFactory { /// <summary> /// Creates an...
// Enum generated by TankLibHelper.EnumBuilder // ReSharper disable All namespace TankLib.STU.Types.Enums { [STUEnumAttribute(0xC4185663)] public enum Enum_C4185663 : uint { [STUFieldAttribute(0xC2DBDC85)] xC2DBDC85 = 0x0, [STUFieldAttribute(0xA06F4397)] xA06F4397 = 0x1, ...
<footer class="split-footer"> <a href="post.html">About</a> <i class="link-spacer"></i> <a href="post.html">Writer 2017</a> </footer>
namespace OAuth2ExampleApp { class AuthorizeResult { public bool Success { get; private set; } public string AccessToken { private set; get; } public string User { get; private set; } public string Organisation { get; private set; } public string ClusterUrl { get; private set; } public string Me...
using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.SwaggerToPostman.PostmanSchema.Common; using System; using System.Collections.Generic; using System.Text; namespace Swashbuckle.SwaggerToPostman.Converters { public interface IHeaderParameterObjectConverter { List<PostmanHeader> Convert(List<NonB...
using System; using System.Text; namespace NWN.FinalFantasy.Extension { public static class ExceptionExtensions { public static string ToMessageAndCompleteStacktrace(this Exception exception) { Exception e = exception; StringBuilder s = new StringBuilder(); ...
using MapKit; using MSCorp.FirstResponse.Client.Controls; using MSCorp.FirstResponse.Client.iOS.Maps; using MSCorp.FirstResponse.Client.iOS.Renderers; using MSCorp.FirstResponse.Client.Maps; using System; using System.ComponentModel; using Xamarin.Forms; using Xamarin.Forms.Maps.iOS; using Xamarin.Forms.Platform.iOS; ...
//********************************************************************************** //* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. //********************************************************************************** #region Apache License // // Licensed under the Apache License, Version 2.0 (the "License"); // yo...
using System; using System.Collections.Generic; using System.Text; using Xunit; using SyntacsApp.Controllers; using Microsoft.AspNetCore.Mvc; namespace SyntacsTests { public class AboutCountrollerTest { [Fact] public void TestAboutControllerReturnsView() { AboutController a...
// Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; class ExtraactTextFromXML { //• Write a program that extracts from given XML file all the text without the tags. static void Main(string[] args) { StreamReader strR...
using System.Threading.Tasks; using AutoMapper; using EducationSystem.Helpers; using EducationSystem.Interfaces; using EducationSystem.Interfaces.Services; using EducationSystem.Models.Rest; using Microsoft.Extensions.Logging; namespace EducationSystem.Implementations.Services { public sealed class ServiceUser : ...
/* * TestPlugin.cs * * Contact: * Moonlight List (moonlight-list@lists.ximian.com) * * Copyright 2009 Novell, Inc. (http://www.novell.com) * * See the LICENSE file included with the distribution for details. * */ using System; using System.Collections.Generic; using System.Runtime.InteropServices; using S...
/* * Licensed to the SkyAPM under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The SkyAPM licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file exce...
using Conduit.Articles.DataAccessLayer.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Conduit.Articles.DataAccessLayer.Utilities; public static class InitializationExtensions { public static async Task InitializeDataba...
using System; using System.Collections.Generic; using System.Linq; using Android.Bluetooth.LE; using Plugin.BluetoothLE.Android.Internals; namespace Plugin.BluetoothLE.Android { public class AdvertisementData : IAdvertisementData { readonly Lazy<InternalScanRecord> lazyParse; private byte[] r...
using JetBrains.VsIntegration.Shell; using Microsoft.VisualStudio.TextTemplating; using Microsoft.VisualStudio.TextTemplating.VSHost; namespace JetBrains.ForTea.ReSharperPlugin { [WrapVsInterfaces] public class ExposeTextTemplatingEngineServices : IExposeVsServices { public void Register(VsServiceProviderResolv...
using FastReport; using FastReport.Data; using FastReport.Export.Image; using FastReport.Format; using FastReport.Table; using FastReport.Utils; using System; using System.Data; using System.Drawing; using System.IO; namespace DataFromDataSet { class Program { private static string outFolder = @"..\.....
// #define DEBUG_BGM using System.Collections.Generic; using UnityEngine; namespace JamSuite.Audio { [RequireComponent(typeof(AudioSource))] public class BgmPlayer : MonoSingleton<BgmPlayer> { public float crossfadeTime = 1f; public AnimationCurve crossfadeShape = AnimationCurve.Linear(0f, ...