text
stringlengths
1
932k
/* Copyright 2017-present MongoDB Inc. * * 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 wr...
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; namespace Store { public partial class Form1 : System.Windows.Forms.Form { static readon...
namespace tomenglertde.ResXManager { using System; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.IO; using System.Reflection; using System.Windows; using JetBrains.Annotations; using tomenglertde.ResXManager.Infrastructure; ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("av...
using Quartz; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZSZ.Tests { class TwoJob : IJob { public void Execute(IJobExecutionContext context) { Console.WriteLine("我是22222定时执行"); } } }
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,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 ...
// Copyright 2020 The Tilt Brush Authors // // 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 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodingTestPracticeCSharp { class MainClass { public static void Main() { object answer = null; //answer = new Solution_20200621_1().solution(5,...
using System.Collections.Generic; using AllReady.Areas.Admin.ViewModels.Organization; namespace AllReady.Areas.Admin.ViewModels.Validators { public class OrganizationEditModelValidator : IOrganizationEditModelValidator { public List<KeyValuePair<string, string>> Validate(OrganizationEditViewModel mode...
using System.Web.Mvc; using Casper.Mvc.Models; namespace Casper.Mvc.Controllers { public class WizardController : Controller { public ActionResult Index(int id) { var model = new WizardViewModel { Id = id, Question = "Question: " + id ...
using Domain.Point; using Domain.ValueObjects; using DotNetCore.Repositories; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Database.Point { public interface IPointRepository : IRelationalRepository<PointEntity> { Task<IEnumerable<PointEntity...
using System.Reflection; using System.Windows; using System.Windows.Controls; namespace Phony.WPF.Helpers { public static class PasswordBoxHelper { public static readonly DependencyProperty BoundPasswordProperty = DependencyProperty.RegisterAttached("BoundPassword", typeof(...
// <copyright file="AppMetricsHealthLoggerExtensions.cs" company="Allan Hardy"> // Copyright (c) Allan Hardy. All rights reserved. // </copyright> using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; // ReSharper disable CheckNamespace namespace App.Metrics.Health.Logging...
using System; using System.Collections.Generic; public class Logger { public enum LogType { Debug, Log, Error } public struct LogEntry { public readonly LogType Type; public readonly string Component; public readonly string Message; public LogEntry(LogType ...
using System; using System.Collections.Generic; using System.Text; namespace AGS.CScript.Compiler { public static class CompilerFactory { /// <summary> /// Creates a new Preprocessor which you can use to preprocess scripts. /// </summary> /// <param name="applicationVersion">The version of the application, u...
using System; namespace _02._Summer_Outfit { class Program { static void Main(string[] args) { int temp = int.Parse(Console.ReadLine()); string day = Console.ReadLine(); string outfit = null; string shoes = null; if (10 <= temp && tem...
namespace FP_Group_27.ERMS.ResOp { partial class ItemManForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
using System; using System.Collections.Generic; namespace _04.Students { class Program { static void Main(string[] args) { List<Student> students = new List<Student>(); var line = Console.ReadLine(); while (line != "end") { stri...
// Copyright (c) 2012-2021 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Dicom.Helpers; using Dicom.Log; using Xunit; using Xunit.Abstractions; n...
//--------------------------------------------------------------------- // <copyright file="ClientQueryTests.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //----------------------------------------...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Chapter 3.5 StatementsAndExpressions * * * * Copyright © 2018 Alex Okita * * ...
using System; namespace FitnessCard { class Program { static void Main(string[] args) { // Сумата, с която разполагаме - реално число в интервала[10.00…1000.00] // Пол - символ('m' за мъж и 'f' за жена) // Възраст - цяло число в интервала[5…105]...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using System.Web.Http.Results; using Swashbuckle.Swagger.Annotations; using UserService.Models; namespace UserService.Controll...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
/* * Copyright (C) 2020, Carlos H.M.S. <carlos_judo@hotmail.com> * This file is part of OpenBound. * OpenBound is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of the License, or(at your op...
// dnlib: See LICENSE.txt for more info using System; using System.Collections.Generic; using System.Diagnostics; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace dnlib.Utils { class CollectionDebugView<TValue> { readonly ICollection<TValue> list; public CollectionDebugView(ICollection<TValue> list) => thi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; namespace Azure...
namespace LotusCatering.Data.Models { using System; using System.Collections.Generic; using LotusCatering.Data.Common.Models; public class Cart : IAuditInfo { public Cart() { this.Id = Guid.NewGuid().ToString(); this.CartItems = new HashSet<CartItem>(); ...
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace LotterySln.Web.Admin.Members { publ...
@inherits UmbracoViewPage<UmbracoGo.Web.Models.DocumentTypes.WebPages.WebPage> <meta name="author" content="@Model.MetaAuthor" /> <meta name="description" content="@Model.MetaDescription" /> <meta name="keywords" content="@Model.MetaKeywords" />
// --------------------------------------------------------------------------------- // <copyright file="ColorwheelBaseItem.cs" company="https://github.com/sant0ro/Yupi"> // Copyright (c) 2016 Claudio Santoro, TheDoctor // </copyright> // <license> // Permission is hereby granted, free of charge, to any person obta...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Metadata; namespace MinimalHelpers.Binding; /// <summary> /// Provides extension methods for adding a <see cref="Endpoint.Metadata"/> that makes the endpoint able to receive a single or multiple file upload. /// </su...
using BeFaster.Core.Data; using BeFaster.Data; using BeFaster.Domain.DSL; using BeFaster.Domain.Services; using FluentAssertions; using Microsoft.Extensions.Logging; using NSubstitute; using System; using System.Linq; using Xunit; namespace BeFaster.App.Tests.Solutions.CHK { public class OfferServiceTests { ...
using System.Text; using RimWorld; using Verse; namespace CompDeflector { public class StatWorker_DeflectionChance : StatWorker { public override float GetValueUnfinalized(StatRequest req, bool applyPostProcess = true) { return GetBaseDeflectionChance(req, applyPostProcess) + GetSk...
// // Copyright (c) Microsoft. 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-2.0 // // Unless required by applicable l...
using Furion.ClayObject.Extensions; using Furion.DatabaseAccessor; using Furion.DatabaseAccessor.Extensions; using Furion.FriendlyException; using Furion.JsonSerialization; using Magicodes.ExporterAndImporter.Core; using Magicodes.ExporterAndImporter.Excel; using Mapster; using Microsoft.AspNetCore.Http; using Microso...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NeoSharp.Core.Cryptography; using NeoSharp.Core.Models; using NeoSharp.Core.Persistence; using NeoSharp.Persistence.RedisDB.Helpers; using NeoSharp.Types; using StackExchange.Redis; namespace NeoSharp.Persistence.Red...
namespace Aeon.Emulator { /// <summary> /// Segment index as an R/M code. /// </summary> public enum SegmentIndex : uint { /// <summary> /// The ES segment. /// </summary> ES, /// <summary> /// The CS segment. /// </summary> CS, ...
using FreeSql.Internal; using System; using System.Collections.Generic; using System.Data; using System.Text; using System.Threading; using System.Threading.Tasks; namespace FreeSql.Odbc.SqlServer { class OdbcSqlServerDelete<T1> : Internal.CommonProvider.DeleteProvider<T1> { public OdbcSqlServerDelet...
namespace AdventOfCode.Solutions.Year2021.Day11; class Solution : SolutionBase { public Solution() : base(11, 2021, "") { } protected override string SolvePartOne() { return ""; } protected override string SolvePartTwo() { return ""; } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace WK.Orion.Applications.SPA.CRM { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("...
@page "/" @namespace PoePricing.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>PoePricing</title> <base href="~/" /> ...
// ---------------------------------------------------------------------------- // <copyright file="PathResolverTests.cs" company="Nicholas Davis"> // Copyright (c) Nicholas Davis. All rights reserved. // </copyright> // ---------------------------------------------------------------------------- namespace Cobos.Util...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Attack : State { private bool isZombie; private bool isBlemmey; private bool isCultist; private bool isPride; private float myTime = 0f; private Vector2 dir; private float dist; public Attack...
// Copyright (c) Richasy. All rights reserved. using System; using Richasy.Bili.ViewModels.Uwp; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Richasy.Bili.App.Controls { /// <summary> /// 用户小卡片. /// </summary> public sealed partial class UserSlimCard : UserControl { ///...
using System.Collections.Generic; namespace OpenXmlPowerTools.OpenXMLWordprocessingMLToHtmlConverter { /// <summary> /// Handler that transforms every text in w:t /// </summary> public interface ITextHandler { /// <summary> /// Returns some kind of changed text, that will be used i...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace ContactsApp.Models { public class ExternalLoginConfirmationViewModel { [Required] [Display(Name = "Email")] public string Email { get; set; } } public class ExternalLoginListViewModel ...
// http://github.com/kinnara/ModernWpf using System; using System.ComponentModel; using System.Diagnostics; using System.Windows; using System.Windows.Media; using HandyControl.Data; using HandyControl.Tools.Extension; namespace HandyControl.Themes { public class ThemeResources : ResourceDictionaryEx, ISupportIn...
using System; using System.Collections.Generic; using System.Text; namespace XFPage.ViewModel { class TabItemViewModel { } }
using System.Collections.Generic; namespace ESocket.Common { /// <summary> /// 操作信息基类 /// </summary> public abstract class OperationBase : IOperation { /// <summary> /// 参数列表,value只支持LitJson能够解析的类型 /// </summary> public Dictionary<string, object> Parameters; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EditorClass : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
using System.Collections.Generic; using DirScan.Client; using DirScan.Data; using DirScan.Logging; using NUnit.Framework; namespace DirScan.Tests { [TestFixture] public class MainModelTests { private MainModel _model; private string _folder; [SetUp] public void SetUp() ...
using DataCloner.Core.Data; using System.Data; namespace DataCloner.Core.Metadata { public sealed class ColumnDefinition { public string Name { get; set; } public DbType DbType { get; set; } public SqlType SqlType { get; set; } public bool IsPrimary { get; set; } pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace dmweis.ASC.Connector.HardwareConnection { interface IArmConnector { Task SetMagnetAsync(bool turnOn); Task MoveAllServosAsync( ServoPositions position ); Task MoveOneSe...
// 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 ma...
#pragma checksum "C:\GitHub\KevinDockx\SecuringAspNetCore3WithOAuth2AndOIDC\Finished sample with IdSrv4 v4\src\ImageGallery.Client\Views\Gallery\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0344fb50762d34b1d03398c1124ec5405713881c" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsof...
using System; namespace LiveHAPI.Shared { public class SearchHit { public int Hits { get; set; } public Guid ItemId { get; set; } public SearchHit(Guid itemId) { Hits = 1; ItemId = itemId; } public SearchHit(int hits, Guid itemId):this...
// <snippet2> namespace Samples.AspNet.CS.Controls { using System; using System.Web; using System.Web.Security; using System.Security.Permissions; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; // <snippet3> [AspNetHostingPermission(SecurityAction.Dem...
/**************************************************************************** *Copyright (c) 2018-2020 yswenli All Rights Reserved. *CLR版本: 4.0.30319.42000 *机器名称:WENLI-PC *公司名称:yswenli *命名空间:SAEA.RPC.Common *文件名: RPCServiceAttribute *版本号: v6.0.0.1 *唯一标识:6e113afe-ffa5-4669-9ec3-d5e9a8f83ff6 *当前的用户域:WENLI-PC *创建人: yswen...
using Cofoundry.Core.Caching; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cofoundry.Domain { public class SettingCache : ISettingCache { #region constructor private const string CACHEKEY = "COF_Settings"; ...
using System; using System.Collections.Generic; public class MonthIdComparer : global::System.Collections.Generic.IEqualityComparer<global::MonthId> { public bool Equals(global::MonthId x, global::MonthId y) { return x == y; } public int GetHashCode(global::MonthId obj) { return (int)obj; } public static...
// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using System; using DA.Htm...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [System.Serializable] public class SelectLevelButton: MonoBehaviour{ [Header("Button Settings")] public bool Active = true; public bool LoadOnClick; public int AudioManagerClipNumber; public bool NoSound; ...
#pragma warning disable SA1124 // Do not use regions using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using AdaptiveExpressions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace AdaptiveExpressions.Tests { [TestClass] public ...
// Copyright 2022 - Interceptr.NET - https://github.com/pedrobarbs/Interceptr.NET // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // U...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Pwned.Web.Areas.Identity.Pages.Account { public class PwnedPasswordModel : PageModel { public long Count { get; set; } ...
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using VotEZDL; namespace VotEZDL.Migra...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace ACT_JuscoBot { [Serializable] public class BackupSetting { public string authFilePath...
namespace DotNetInterceptTester.My_System.ComponentModel.SingleConverter { public class CanConvertFrom_System_ComponentModel_SingleConverter_System_ComponentModel_ITypeDescriptorContext_System_Type { public static bool _CanConvertFrom_System_ComponentModel_SingleConverter_System_ComponentModel_ITypeDescriptorContext_Sy...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.Authorization.Roles; using Abp.AutoMapper; using QuartzScheduler.Authorization.Roles; namespace QuartzScheduler.Roles.Dto { [AutoMap(typeof(Role))] public class RoleDto : EntityDto<int> ...
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Dolittle.Runtime.Types.for_InstancesOf { public class OneImplementation : IAmAnInterface { } }
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace tourBD.Core { public interface IRepositoryBase<TEntity, TKey> where TEntity : class, IEntity<TKey> { Task AddAsync(TEntity entity); Task RemoveAsync(TKey id); ...
namespace SFA.Apprenticeships.Infrastructure.Communication.Sms.SmsMessageFormatters { using System.Collections.Generic; using System.Linq; using Application.Interfaces.Communications; using Configuration; using Domain.Entities.Communication; using Newtonsoft.Json; using SFA.Apprenticeships...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("createmomadb")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assemb...
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Calamari.Integration.FileSystem; using Calamari.Tests.Helpers; using FluentAssertions; using NUnit.Framework; namespace Calamari.Tests.Fixtures.Integration.FileSystem { [TestFixture] public ...
using Comedian_Soundboard.Common; using Comedian_Soundboard.DataModel; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Fou...
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.InteropServices; using Maploader.Renderer; using Maploader.Renderer.Heightmap; using Maploader.Renderer.Imaging; using Maploader.Renderer.Texture; using Maploader.World; using Microsoft.Extensi...
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; using WalletWasabi.Tests.XunitConfiguration; using WalletWasabi.WebClients.BlockCypher; using WalletWasabi.WebClie...
using Rocket.API; namespace Bloodstone.Plugins.RocketTools { public sealed class Configuration : IRocketPluginConfiguration { public bool EnableRPermCommand; public void LoadDefaults() { EnableRPermCommand = true; } } }
/* PriorityQueue.cs - C# implementation of a binary min-heap based generic priority queue. Copyright (C) 2012 Peter Graf This file is part of PBL - The Program Base Library. PBL is free software. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General...
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x60ec-624bbdb5")] public void Method_0000_60ec() { ii(0x60ec, 1); push(di); /* push di */ ...
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmthk.h(3827,9) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _D3DKMT_SETVIDPNSOURCEOWNER1 { public _D3DKMT_SETVIDPNSOURCEOWNER Version0; public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ToolTip : MonoBehaviour { public Canvas myCanvas; public Vector3 offset; // Update is called once per frame void Update() { transform.position = Input.mousePosition + offset; } }
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System.Windows.Automation.Provider; using System.Windows.Controls; namespace System.Windows.Automatio...
using System; using System.Threading.Tasks; using System.IO; using System.Drawing; using Microsoft.Azure.WebJobs.Host; using static CoderCardsLibrary.ImageHelpers; using Microsoft.Azure.WebJobs; using Microsoft.ProjectOxford.Emotion; using Microsoft.ProjectOxford.Common.Contract; using Microsoft.Azure.WebJobs.Extensi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataGen.StateMachine.Tests.StateEnumTransitionEnumNullableStateMachine { public enum States { Stopped, Playing, Paused, } }
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Node.cs" company="The original author or authors."> // Copyright 2002-2012 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License...
#region License // Copyright (c) 2007 James Newton-King // // 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, // copy,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.Numbers_in_Reversed_Order { class Program { static void Main(string[] args) { string number = Console.ReadLine(); Console.WriteLine(Reversed...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web.Mvc; using System.Web.WebPages; using Easy.Extend; using System.Web; namespace Easy.Web.ViewEngine { public class PrecompiledView : IView { private readonly string[] _viewsExtension ...
using SimpleDnsCrypt.Models; using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace SimpleDnsCrypt.Converters { public class LicenseLinkToVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture...
// 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. // // Purpose: When performance is critical, the FastPoint chart // type is a good alternative to t...
using System; using Confuser.Core; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace Confuser.Renamer.References { public class StringTypeReference : INameReference<TypeDef> { readonly Instruction reference; readonly TypeDef typeDef; public StringTypeReference(Instruction reference, TypeDef typeDef) { ...
namespace Ds1Igt { public static class Config { public static string Module = "DARKSOULS"; public static int OffsetSize = 4; public static long BasePointerFinal = 0x01378700; public static int[] OffsetsFinal = { 0x68 }; } }
using Dapper; using Moq; using Moq.Dapper; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.Linq; using System.Linq.Expressions; using Xunit; using static Dommel.DommelMapper; namespace Dommel.Tests { publ...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
using static System.Runtime.InteropServices.MemoryMarshal; namespace DotNext.IO; using static Threading.AsyncDelegate; using static Threading.Tasks.Continuation; internal abstract class WriterStream<TOutput> : Stream, IFlushable where TOutput : notnull, IFlushable { // not readonly to avoid defensive copying...
using UnityEngine; namespace UniColliderInterpolator { public static class BoundsDivider { public static void Divide(Bounds bounds, float edgeLength, out Vector3[] positions, out int xDivisionCount, out int yDivisionCount, out int zDivisionCount) { Vector3 m...