text
stringlengths
1
932k
/* * Influx API Service * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.1.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text...
using AutoMapper; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Movies.API.Contexts; ...
using System; using System.Threading.Tasks; using Journalist.EventStore.Journal; using Journalist.WindowsAzure.Storage.Blobs; using Serilog; namespace Journalist.EventStore.Streams { public class EventStreamConsumingSession : IEventStreamConsumingSession { private static readonly ILogger s_logger = Log...
// // Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of ...
using System; using System.Collections; using System.Text; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Asn1.X509 { /** * The AuthorityInformationAccess object. * <pre> * id-pe-authorityInfoAccess OBJECT IDENTIFIER ::= { id-pe 1 } * * AuthorityInfoAccessSyntax ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Quanda.Areas.Identity.Data; using Quanda.Models; namespace Quanda.Pages.Questions { public class Cre...
@model Telerik.Sitefinity.DynamicModules.Builder.Model.DynamicModuleField @@*Start @Model.Name field*@@ <ul> @@foreach(ContentLink contentLink in Model.Item.Fields.@(Model.Name)) { <li> <a href='@@contentLink.GetDocument().MediaUrl)'>@@contentLink.GetDocument().Title</a> </li> ...
using Caliburn.Micro; using FirstFloor.ModernUI.Presentation; using System; using System.ComponentModel.Composition; namespace mom.ViewModels { [Export] [PartCreationPolicy(CreationPolicy.Shared)] public class SettingsViewModel : Screen { private Uri selectedSource = new Uri("/Views/MeterSetti...
using System; using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.CSharp; using ICSharpCode.NRefactory.CSharp.Resolver; using ICSharpCode.NRefactory.TypeSystem; using Saltarelle.Compiler.JSModel; using Saltarelle.Compiler.JSModel.Expressions; using Saltarelle.Compiler.JSModel.Statements; ...
@model MvcView.Models.Member @{ ViewBag.Title = "Create"; } <h2>Create</h2> @Html.Partial("_MemberPartial", Model) @*@using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Member</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "te...
#region License // The MIT License (MIT) // // Copyright (c) 2017 SimpleSoft.pt // // 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 ...
using FluentValidation.Results; namespace SnailRacing.Ralf.Infrastrtucture { public abstract class ResponseBase { public IEnumerable<ValidationFailure> Errors { get; set; } = Enumerable.Empty<ValidationFailure>(); public bool HasErrors() { return Errors.Any(); } ...
using System; using NUnit.Framework; namespace Microsoft.Maui.Controls.Core.UnitTests { [TestFixture] public class SwipeGestureRecognizerTests : BaseTestFixture { [Test] public void Constructor() { var swipe = new SwipeGestureRecognizer(); Assert.AreEqual(null, swipe.Command); Assert.AreEqual(null, ...
// Copyright (c) 2011 Vincent Tan Wai Lip // // 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, modify, merge...
using DesignTE.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignTE.Modules.Undo.Changes { class NodeNew : IChange { private MapNode node; public NodeNew(MapNode node) { this.node = node; } public ...
using Newtonsoft.Json; namespace ColleyMatrix.Provider { /// <inheritdoc /> public class JsonSerializationProvider : IJsonSerializationProvider { /// <inheritdoc /> public string Serialize(object objectToSerialize) { return JsonConvert.SerializeObject(objectToSerialize)...
/* Copyright 2015-2018 Daniel Adrian Redondo Suarez 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 i...
// 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. /****************************************************************************** * This file is auto-generated from ...
@inject ClassPort.Domain.Entities.Settings.ApplicationSettings Settings <footer class="footer footer-transparent d-print-none"> <div class="container-xl"> <div class="row text-center align-items-center flex-row-reverse"> <div class="col-lg-auto ms-lg-auto"> <ul class="list-inlin...
using System; namespace NWheels.Composition.Model { [AttributeUsage( AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field )] public class MetaMemberAttribute : Attribute { } }
using System; namespace Thinktecture.IdentityModel.Http.Hawk.Core.Extensions { internal static class DateTimeExtension { /// <summary> /// Converts DateTime to its equivalent UNIX time expressed in milliseconds. Unix time is the number of seconds elapsed since Jan 1, 1970 midnight UTC. ...
using System; using System.Windows.Forms; namespace Whatsapp_Bunifu_UI { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void bunifuImageButton2_Click(object sender, EventArgs e) { Environment.Exit(0); ...
using System.Threading; using System.Threading.Tasks; using LightWiki.Data; using LightWiki.Features.Groups.Requests; using LightWiki.Infrastructure.Models; using MediatR; using OneOf; namespace LightWiki.Features.Groups.Handlers; public class RemoveGroupHandler : IRequestHandler<RemoveGroup, OneOf<Success, Fail>> {...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Shapes; using System.Windows.Markup; using System.Collections.Generic; using System.Windows.Ink; using System.Windows.Input; using System.IO; us...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("LLRP .Net Library")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyDescription("")] [assembly: AssemblyCopyright("Copyright © Impinj 2008,2009")] [assembly: AssemblyCompany("")] [assembly: AssemblyTrademark("")] [ass...
//------------------------------------------------------------------------------ // <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> //------------------------------------------...
@model AlwaysMoveForward.PointChart.Web.Models.ChartTaskModel @using AlwaysMoveForward.PointChart.Common.DomainModel; @{ ViewBag.Title = "CompletedTasks"; Layout = "~/Views/Shared/_Layout.cshtml"; } @section headerPlugins { <script src="@Url.Content("~/Scripts/Charts/Chart.js")" type="text/javascript"></s...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpLearning.CrossValidation.TimeSeries; using SharpLearning.DecisionTrees.Learners; using SharpLearning.Metrics.Regression; namespace SharpLearning.CrossValidation.Test.TimeSeries { [TestClass] public class TimeSeries...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace DataWF.Common { public enum DiffType { Deleted, Inserted, Replace } public class DiffResult { private readonly IList listA;...
using System.IO; using UnityEngine; namespace JTUtility { public enum DebugLog { FileOnly, FileAndUnityConsole, FileAndWarningInUnity, FileAndErrorInUnity } public class FileDebug { static FileStream _outputFile; static StreamWriter _writer; ...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
using Tyr.Agents; using Tyr.Util; namespace Tyr.Tasks { class ShieldBatteryTargetTask : Task { public static ShieldBatteryTargetTask Task = new ShieldBatteryTargetTask(); public ShieldBatteryTargetTask() : base(8) { } public static void Enable() { Task.Stop...
/** * 作 者:朱晓春(zhi_dian@163.com) * 创建时间:2010-09-27 12:47:56 * 版 本 号:2.2.0 * 功能说明:数据库查询接口 * ---------------------------------- * 修改标识: * 修 改 人: * 日 期: * 版 本 号: * 修改内容: */ using System.Collections.Generic; using System.Data; using System.Data.Common; namespace DotNet.Standard.NParsing.Interface { public inter...
using WFw.IEntity.IAudit; namespace WFw.IEntity { /// <summary> /// 完整审计接口 /// </summary> /// <typeparam name="TUserId"></typeparam> public interface IFullAuditByUser<TUserId> : IOnlyNewAuditedByUser<TUserId>, ISoftDeletableByUser<TUserId> { } }
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.Page { /// <summary> /// GetResourceContentResponse /// </summary> [System.Runtime.Serialization.DataContract...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.544 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
// ReSharper disable UnusedMember.Global namespace GitLab.NET { /// <summary> Contains the possible status' for a build. </summary> public enum BuildStatus { /// <summary> The build has failed. </summary> Failed, /// <summary> The build is pending. </summary> Pending, ...
using UnityEngine; using System.Collections; namespace TMPro.Examples { public class ObjectSpin : MonoBehaviour { #pragma warning disable 0414 public float SpinSpeed = 5; public int RotationRange = 15; private Transform m_transform; private float m_time; privat...
namespace Bing.MockData { /// <summary> /// 常量 /// </summary> internal class Const { #region 英文字母 /// <summary> /// 小写英文字母 /// </summary> public const string Lowercase = "abcdefghijklmnopqrstuvwxyz"; /// <summary> /// 大写英文字母 /// </summ...
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace JuCheap.Core.Data.Migrations { public partial class first : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(Mig...
using System.Reflection; 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("RoaringBitmap.Benchmark")] [assembly: As...
namespace CarDealer.Initializer { using System; using System.Collections.Generic; using System.IO; using System.Xml.Serialization; using System.Linq; using DataAnnotations = System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; using AutoMapper; using Data; ...
/* * 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...
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework.IR; namespace Mosa.Compiler.Framework.Transform.Auto.IR.Simplification { /// <summary> /// Sub32Combine /// </summary> public sealed class Sub32Combine : BaseTrans...
namespace MooVC.Collections.Generic { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using static MooVC.Collections.Generic.Resources; using static MooVC.Ensure; public static partial class EnumerableExtensions { [return...
using UnityEngine; using System.Collections; public class Controller2D : RaycastController { public float maxSlopeAngle = 80; public bool isThisDodo = false; internal int worldChanger = 1; public CollisionInfo collisions; [HideInInspector] public Vector2 playerInput; public override void Start() { ...
namespace Improving.Highway.Data.Scope.Test.Context.Foos { public class Foo { public int Id { get; set; } public string Name { get; set; } } }
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.Threading.Tasks; using System.Windows.Forms; namespace ControlSystemsProjectSFG { public partial class Form1 : Fo...
using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.DependencyInjection; using CleanArchitecture.Application.Common.Interfaces; using CleanArchitecture.FunctionApp; namespace FunctionApp { class Program { static async Ta...
namespace LPKviz { partial class DesetoPitanje { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
using BusinessEngine.DataModel; using BusinessEngine.DataModels; using BusinessEngine.Manager; using BusinessEngine.Models; using Newtonsoft.Json.Linq; using PoissonnerieApi.Models; using PoissonnerieApi.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; ...
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
/****************************** Module Header ******************************\ Module Name: SerializableDictionary [generic] Project: Base Summary: A special dictionary deisgned to be serializable Author[s]: Ryan Cooper Email[s]: rcooper@edwardsaquifer.org \**********************************...
using System.Collections.Generic; using CommandLine; namespace Trash { public class Config { [Option('f', "file", Required = false)] public string File { get; set; } [Option('a', "after", Required = false, Default = false)] public bool After { get; set; } [Option('v', ...
 namespace TezAnaliz { partial class FrmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
using UnityEngine; using System.Collections; [ExecuteInEditMode()] /// <summary> /// This is the demo for EasyTTS on using SpeechFlush, SpeechAdd and StopSpeech. /// Also how to initialize what kind of language you want to use and how to totally quit it. /// </summary> public class DemoEasyTTS_AdvanceFeature: MonoBeh...
using System; using System.Linq; namespace CountOfCharsAppearing { class Program { static void Main(string[] args) { string word = Console.ReadLine().ToLower(); foreach(char letter in word) { if (word.Count(f => (f == letter))==...
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("Di...
namespace _03._Arrays___Exercise { using System; using System.Collections.Generic; using System.Linq; public static class Program { public static void Main() { //Task01(); //Task02(); //Task03(); //Task04(); //Task05(); ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
using Palmmedia.ReportGenerator.Core.Common; using Xunit; namespace Palmmedia.ReportGenerator.Core.Test.Common { public class JsonSerializerTest { [Fact] public void ToJsonString_Null() { Assert.Equal("null", JsonSerializer.ToJsonString(null)); } [Fact] ...
@using AllReady.Security; @using AllReady.Services; @model AllReady.Areas.Admin.ViewModels.Skill.SkillEditViewModel @{ var isEdit = Model != null && Model.Id > 0; if (isEdit) { ViewData["Title"] = $"Edit Skill - {Model.Name}"; ViewData["Action"] = "Save"; } else { ViewD...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace TestBlocklyHtml { [ApiController] [Route("api/[controller...
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
// // Copyright (c) Jesse Freeman, Pixel Vision 8. All rights reserved. // // Licensed under the Microsoft Public License (MS-PL) except for a few // portions of the code. See LICENSE file in the project root for full // license information. Third-party libraries used by Pixel Vision 8 are // under their own ...
using System; public class ActionAndFunc { static void Main() { Func<string, int> intParseFunction = int.Parse; var num = intParseFunction("10"); Action<int> printNumberAction = Console.WriteLine; printNumberAction(num); Execute(intParseFunction, printNumberAction, "-...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class PuckController : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler { public GameManager gameManager; public int player; private bool launched; private...
using UnityEngine; using System.Collections; public class ShellLocomotor : Locomotor { public float CEP = 100; private LineRenderer cachedTrail = null; private bool hasTrail = true; private bool hasGeneratedRandomError = false; public override void Steer(float deltaTime) { base.Stee...
using Microsoft.EntityFrameworkCore.Migrations; namespace Library.Migrations { public partial class Authorization : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migrationBuilder) { ...
using System.Linq; using ScheduleMaster.DataAccess; using System.Data.Entity; namespace ScheduleMaster { internal static class ScheduleMasterConfig { static ScheduleMasterConfig() { } public static void StartUp() { using (var context = new ScheduleMasterCo...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.IO; using System.Linq; using System.Threading; using BuildXL.Cache.ContentStore.Hashing; using BuildXL; using BuildXL.App.Tracing; using BuildXL.Engine.Cach...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace TestDI { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); BackgroundColor = Color.P...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using Microsoft.Extensions.Configuration.Ini; using Microsoft.Extensions.FileProviders; namespace Microsoft.Extensions.C...
using System; using System.Diagnostics; using Microsoft.Maui.Controls.Xaml; namespace Microsoft.Maui.TestUtils.DeviceTests.Runners.VisualRunner { public class TextWriterResultChannel { int failed; int passed; int skipped; readonly object lockOjb = new object(); public void RecordResult(TestResultViewMod...
#if UNITY_WEBGL && !UNITY_EDITOR using System.Runtime.InteropServices; #endif namespace MainScripts.DCL.WebPlugin { public static class WebGLPlugin { #if UNITY_WEBGL && !UNITY_EDITOR [DllImport("__Internal")] public static extern string GetUserAgent(); #else public static string GetUser...
#region License /* ************************************************************************************** * Copyright (c) Librame Pang All rights reserved. * * http://librame.net * * You must not remove this notice, or any other, from this software. * **********************************************************...
using AuthBot; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; using MicrosoftGraphBot.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using MicrosoftGraphBot.Dialog.ResourceTypes; namespace Microso...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
// This file is part of the ArmoniK project // // Copyright (C) ANEO, 2021-2022. // W. Kirschenmann <wkirschenmann@aneo.fr> // J. Gurhem <jgurhem@aneo.fr> // D. Dubuc <ddubuc@aneo.fr> // L. Ziane Khodja <lzianekhodja@aneo.fr> // F. Lemaitre <flemaitre@aneo.fr> // S. Djebbar ...
using System.Web; using System.Web.Optimization; namespace WebApiTests.Api { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ...
/* * Copyright 2012-2017 The Pkcs11Interop Project * * 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 ap...
// 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 System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Xml; using System.Diagnostics.CodeAnalysis; namespace System.Runtime.Serial...
using System; using System.Collections.Generic; using System.Data.SqlTypes; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading; namespace LinqToDB.Common { using Expressions; using Extensions; using Mapping; static class ConvertBuilder { static readonly MethodInf...
using System; using System.Collections.Generic; namespace UnityEngine.UI { public class VertexHelper : IDisposable { private List<Vector3> m_Positions = ListPool<Vector3>.Get(); private List<Color32> m_Colors = ListPool<Color32>.Get(); private List<Vector2> m_Uv0S = ListPool<Vector2>.Ge...
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member using System; using System.Threading; namespace Cysharp.Threading.Tasks { public class AsyncLazy { static Action<object> continuation = SetCompletionSource; Func<UniTask> taskFactory; UniTaskCom...
namespace IronFoundry.Nats.Client { using Newtonsoft.Json; public abstract class NatsMessage : INatsMessage { // TODO is this really useful? public virtual bool CanPublishWithSubject(string subject) { return true; } public string ToJson() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Automation; using UIAssistant.Interfaces.HUD; using UIAssistant.Plugin.SearchByText.Items; namespace UIAssistant.Plugin.SearchByText.Enumerators { class SearchContainer : ISearchByTextEnumerator { public event Eve...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace SimpleRemote.Bll { public static class NumCalculation { public static string GetStringMd5(string text) { if (string.IsNu...
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("(L...
/* * 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 ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Threading.Tasks; using Xunit; namespace System.Text.Json.Serializ...
//Write an if-statement that takes two double variables a and b and exchanges their values if the first one //is greater than the second one. As a result print the values a and b, separated by a space. using System; class Program { static void Main() { Console.Write("Enter Value of A:"); dou...
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 21.10.2020. using NUnit.Framework; using xEFCore=Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb; namespace EFCore...
// // GKGridGraph.cs: Implements some nicer methods for GKGridGraph // // Authors: // Alex Soto <alexsoto@microsoft.com> // // Copyright 2016 Xamarin Inc. All rights reserved. // using System; using ObjCRuntime; #if NET using Vector2i = global::CoreGraphics.NVector2i; #else using Vector2i = global::OpenTK.Vector2i; #...
// 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.Collections.Generic; using System.IO; using System.Linq; using System.Net.Test.Common; using System.Tex...
using UnityEngine; namespace Mirror.Examples.Benchmark { public class MonsterMovement : NetworkBehaviour { public float speed = 1; public float movementProbability = 0.5f; public float movementDistance = 20; bool moving; Vector3 start; Vector3 destination; ...
using B2.Net.Tests; using B2Net; using B2Net.Models; using B2Net.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace B2Net.Tests { [TestClass] public class AuthorizeTest : BaseTest { // TODO Change these to valid keys to run tests readonly string applicationKey = "K001+GGkBNcbJVj3LD4+e3s5pCUMQ7...
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a genera...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Uno.UI.Tests.Windows_UI_Xaml_Data.BindingTests.Controls; using Windows.UI.Xaml.Controls; using FluentAssertions; using Windows.UI.Xaml.Data; usin...