text stringlengths 1 932k |
|---|
using System;
using System.Net;
using Aspose.Email.Mime;
using Aspose.Email.Clients.Exchange.WebService;
using Aspose.Email.Clients.Exchange;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET API reference
when the project is build. Please check https://Docs.nuget.org/c... |
namespace Spectre.Console;
/// <summary>
/// Contains extension methods for <see cref="IAnsiConsoleCursor"/>.
/// </summary>
public static class CursorExtensions
{
/// <summary>
/// Shows the cursor.
/// </summary>
/// <param name="cursor">The cursor.</param>
public static void Show(this IAnsiConso... |
using Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT;
using Microsoft.Toolkit.Wpf.UI.Controls;
using System;
using System.Threading.Tasks;
namespace MagicCrawler.Services
{
public class HtmlLoader
{
private WebView _webView;
private TaskCompletionSource<string> _loadCompletion;
pub... |
/*****************************************************************************
Copyright 2018 The MxNet.Sharp Authors. 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 ... |
using Vonage.Voice;
using Vonage.Request;
using Vonage;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DotnetCliCodeSnippets.Voice
{
public class PlayDtmfIntoCall : ICodeSnippet
{
public async Task Execute()
{
var vonageAp... |
using Email.Shared;
using Email.Shared.DTO;
using Microsoft.Extensions.Configuration;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using static Email.Shared.MessageSerializer;
namespace Email.Sender
{
public static class Listener
{
private static RabbitConfig _rmqConfig;
private static Conn... |
using NUnit.Framework;
using Plainion.Validation;
using RaynMaker.Modules.Import.Spec.v2.Locating;
namespace RaynMaker.Modules.Import.Tests.Spec.Locating
{
[TestFixture]
public class ResponseTests
{
[Test]
public void Clone_WhenCalled_AllMembersAreCloned()
{
var fragmen... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... |
using System;
using System.Collections.Generic;
using NRedisTimeSeries.DataTypes;
using StackExchange.Redis;
using Xunit;
namespace NRedisTimeSeries.Test.TestAPI
{
public class TestMADD : AbstractTimeSeriesTest, IDisposable
{
private readonly string[] keys = { "MADD_TESTS_1", "MADD_TESTS_2" };
... |
using System.Collections.Generic;
using BattleTech;
using Harmony;
namespace NavigationComputer.Features.MapModes
{
public class Unvisited : IMapMode
{
private readonly float _dimLevel;
public Unvisited(float dimLevel = 10f)
{
_dimLevel = dimLevel;
}
publi... |
using System.ComponentModel.DataAnnotations;
namespace ByYsmn.Web.UI.Models
{
public class LoginViewModel
{
[Required]
[EmailAddress]
[Display(Name = "Kullanıcı Adı")]
public string Username { get; set; }
[Required]
[DataType(DataType.Password)]
[Display... |
// 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.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.Attr... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AdventOfCode2017.Day15.Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AdventOfCode2017.Day15.Tes... |
using System;
namespace FluentPolicy.Tests
{
public class TestHelpers
{
}
// --- test exceptions to make sure actual exceptions from framework doesn't get picked up by asserts ---
class TestException : Exception
{
public TestException()
{
}
public T... |
// 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 Xunit;
namespace System.Text.Tests
{
public class EncodingUnicode
{
#region Positive Test Cas... |
/*
* Copyright 2010-2014 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 "l... |
// 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.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace Microsoft.EntityFrameworkCore.Metada... |
using System.Net;
using System.Threading.Tasks;
using Bondage.Tier.Services.Interfaces;
using Bondage.Tier.ViewModels.Classes.Additions;
using Bondage.Tier.ViewModels.Classes.Updates;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Bondage.Tier.Web.Controllers
{
/// <summary>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Unit : MonoBehaviour {
void Start () {
}
// Update is called once per frame
void Update () {
}
} |
// Copyright 2020 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 or agreed to in writing, software... |
@using DigitalLearningSolutions.Web.ViewModels.TrackingSystem.Delegates.EmailDelegates
@model AllEmailDelegateItemsViewModel
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
@foreach (var delegateUser in Model.Delegates) {
<partial name="_SearchableDelegateCheckbox" model="dele... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace StackExchange.Opserver.Data.Elastic
{
public partial class ElasticCluster
{
private Cache<ClusterHealthInfo> _healthStatus;
public Cache<ClusterHealthInfo> HealthStatus =>
... |
using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
//Referência ao objeto que representa o jogador (bolinha)
public GameObject player;
private Vector3 offset;
// Use this for initialization
void Start () {
offset = transform.position - player.transfor... |
#pragma checksum "D:\c#\blazor\vtl-nvp\RadzenBlazorDemos\Pages\ColorPickerPage.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "fce253d09cc9e6a5cff108bafde33ad7312eeb0f"
// <auto-generated/>
#pragma warning disable 1591
namespace RadzenBlazorDemos.Pages
{
#line hidden
using System;
using System.Collections.... |
using System;
using System.IO;
using Magic.Framework;
using Magic.Framework.Apis;
using Newtonsoft.Json;
using SpaceShared;
using SpaceShared.APIs;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
namespace Magic
{
internal class Mod : StardewModdingAPI.Mod
{
public static ... |
// 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;
using System.Runtime.Serialization;
namespace Net5.System.Formats.Asn1
{
[Serializable]
publi... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Base.IO
{
public interface IStream
{
bool CanRead { get; }
bool CanSeek { get; }
bool CanWrite { get; }
long Length { get; }
long Position { get; set; }
int ... |
//------------------------------------------------------------------------------
// <copyright file="AcceptRejectRule.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primar... |
using System;
using Newtonsoft.Json;
namespace Thenewboston.Bank.Models
{
public class BankBlock
{
[JsonProperty(PropertyName ="id")]
public string Id { get; set; }
[JsonProperty(PropertyName ="created_date")]
public DateTime Created { get; set; }
[JsonProperty(Proper... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
namespace SectionConfig.IO
{
using System;
/// <summary>
/// A token created when a section is opened. Can be used to close the section. It can also be disposed of, for the same effect.
/// </summary>
public readonly struct WriteSectionToken : IDisposable
{
private readonly SectionCfgWriter writer;
private ... |
@model IEnumerable<BootShop_2019.Models.ViewModels.ProductViewModel>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<style>
.homeImage:hover{
background-color: rebeccapurple;
}
h4{
color: red;
}
</style>
<h1 class="text-center">Point of Sale</h1>... |
using DFC.App.Account.Application.SkillsHealthCheck.Models;
using DFC.App.Account.Controllers;
using DFC.App.Account.Models;
using DFC.App.Account.Services;
using DFC.App.Account.Services.SHC.Interfaces;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions... |
using System.Collections.Generic;
namespace Gherkin.Ast
{
public abstract class StepsContainer : IHasLocation, IHasDescription, IHasSteps
{
public Location Location { get; private set; }
public string Keyword { get; private set; }
public string Name { get; private set; }
public... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable disable
using Microsoft.AspNetCore.Razor.Language;
namespace Microsoft.CodeAnalysis.Razor;
internal static class RazorDiagnosticFactory
{
private const string Diagno... |
using Eaf.Configuration.Startup;
using System;
namespace Eaf.BackgroundJobs
{
internal class BackgroundJobConfiguration : IBackgroundJobConfiguration
{
public BackgroundJobConfiguration(IEafStartupConfiguration eafConfiguration)
{
EafConfiguration = eafConfiguration;
I... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EntityFrameworkCore.Jet.IntegrationTests.Model39_DetachedEntities
{
public abstract class Test : TestBase<MyContext>
{... |
// 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 was generated, please do not edit it directly.
//
// Please see MilCodeGen.html for more informat... |
namespace SampleSystem.WebApiCore.Controllers.Main
{
using SampleSystem.Generated.DTO;
[Microsoft.AspNetCore.Mvc.ApiControllerAttribute()]
[Microsoft.AspNetCore.Mvc.ApiVersionAttribute("1.0")]
[Microsoft.AspNetCore.Mvc.RouteAttribute("api/v{version:apiVersion}/[controller]")]
public parti... |
using Shopping.Controllers.Api;
using Shopping.InputModels;
using Shopping.Repository;
using Shopping.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using Threax.AspNetCore.Tests;
using Xunit;
namespace Shopping.Tests
{
public static partial class StoreTests
{
publi... |
namespace BrighterOption.Expressions
{
public class _Platform_Expressions_Assembly_
{
}
} |
using System;
using System.Runtime.InteropServices;
namespace ChocolArm64.State
{
[StructLayout(LayoutKind.Explicit, Size = 16)]
public struct AVec
{
[FieldOffset(0x0)] public byte B0;
[FieldOffset(0x1)] public byte B1;
[FieldOffset(0x2)] public byte B2;
[FieldOffset(0x3)] p... |
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.ObjectModel;
using System.Da... |
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.ComponentModel;
namespace Efl {
/// <summary>Common interface for objects that have multiple contents (sub objects).
/// APIs in this interface de... |
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace DotNetNuke.Modules.Forums.UserControls {
public partial class admin_forumlist : System.Web.UI.UserControl {
protected void Page_Load(object sender, EventArgs... |
/*
* Apache License, Version 2.0
* Copyright 2019-2020 NVIDIA Corporation
*
* 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
*
* Unl... |
// WARNING
//
// This file has been generated automatically by MonoDevelop to store outlets and
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
namespace DataAccess
{
[Register ("RootViewController")]
partia... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2020 Rasmus Mikkelsen
// Copyright (c) 2015-2020 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Marten.Events.Projections;
using Marten.Services;
using Marten.Storage;
namespace Marten.Events.Daemon
{
internal class TenantActionGroup
{
private readonly List<StreamAction> _actions;
private readonl... |
using UnityEngine;
using UnityEditor;
namespace UnityVolumeRendering
{
public class SliceRenderingEditorWindow : EditorWindow
{
private int selectedPlaneIndex = -1;
private bool handleMouseMovement = false;
private Vector2 prevMousePos;
[MenuItem("Volume Rendering/Slice render... |
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using CppAst.CodeGen.Common;
namespace CppAst.CodeGen.CSharp
{
public static class CSharpEle... |
using ContractorJobBuilderV2.Core.Entities.Aggregates;
using ContractorJobBuilderV2.Core.ValueObjects;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ContractorJobBuilderV2.Infrastructure.Data.Config
{
public class JobConfiguration : IEntityTypeConfiguration<... |
using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// AUTOGENERATED: DO NOT EDIT!
/// </summary>
public partial class TdApi
{
public class SearchMessages : Function<Messages>
{
[JsonProperty("@type")] public override string DataType { get; set; } = "se... |
using Project.Controlers;
using Project.Views;
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 Project.Forms
{
public partial class FormRe... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using System;
using Foundation;
using Plugin.GoogleAnalytics.Abstractions;
using Plugin.GoogleAnalytics.Abstractions.Model;
using UIKit;
using System.IO;
namespace Plugin.GoogleAnalytics
{
[Preserve(AllMembers = true)]
public class DeviceInfo : IDeviceInfo
{
private readonly string GoogleAnalytics... |
using Zarmon.Connection.Core.Generic;
using Zarmon.Device.ApiCore.Core;
using Zarmon.Device.SyntaxCore.Core;
using Zarmon.Device.SyntaxCore.Core.Interfaces;
namespace Zarmon.Device.ApiCore.Transceiver
{
public class TransceiverApi : Api, ITransceiverApi
{
public TransceiverApi(IConnection connection, ... |
/* Copyright 2015-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... |
#pragma checksum "C:\Users\ezhar\Downloads\dotnet_final\Views\Tasks\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7b94e24d640832d1cd5e3ad18711a4bb3cbc7b9a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.View... |
@model GastosAppCore.Domain.Usuario
@{
ViewBag.Title = "Create";
}
<h2>Create</h2>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>Usuario</legend>
<div class="editor-label">
@Html.LabelFor(model => model.Login)
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DefiningClasses
{
public class StartUp
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
var cars = new List<Car>();
for (int i = 0; i < n; i++)
... |
using System.Web.Routing;
using System.Web;
namespace MvcContrib.Routing
{
/// <summary>
/// HTTP Handler that outputs route debugging information.
/// </summary>
public class DebugHttpHandler : IHttpHandler
{
public RequestContext RequestContext { get; set; }
public bool IsReusable
{
get { return true... |
// 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.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.Attr... |
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 System.Linq;
using Newtonsoft.Json;
using Tweetinvi.Models;
using Tweetinvi.Models.DTO.Webhooks;
namespace Tweetinvi.Core.Models
{
public class WebhookEnvironment : IWebhookEnvironment
{
private readonly ITwitterClient _client;
public WebhookEnvironment(IWebhookEnvironmentDTO webhookEnvi... |
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Xml;
using ReactiveUI;
namespace PackageReferenceEditor
{
[DataContract]
public class UpdaterResult : ReactiveObject
{
private IList<XmlDocument>? _documents;
private IList<PackageReference>? _references;
... |
// 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.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CodeGen... |
using System;
namespace BeardedManStudios.Forge.Networking.Generated
{
[AttributeUsage(AttributeTargets.Class)]
[System.Diagnostics.Conditional("UNITY_EDITOR")] //not needed at runtime do not include in build
public class GeneratedSnapshotAttribute : System.Attribute
{
public GeneratedSnapshot... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using mphdict;
using ... |
/*
* 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 System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace CmVisualizer
{
public class Program
{
... |
/*
* Payment Gateway API Specification.
*
* The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
*
* The version of the OpenAPI document:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace RaccoonMsgr.Models
{
public class MasterPageMenuItem : BaseModel
{
public MasterPageMenuItem()
{
}
private bool _isBadgeVisible = ... |
/*
* MailSlurp API
*
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) -... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO.Packaging;
using DocumentFormat.OpenXml.Framework;
using DocumentFormat.OpenXml.Packaging;
using Documen... |
#if GOLD_PLAYER_TESTS && !GOLD_PLAYER_DISABLE_GRAPHICS
using System.Collections;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.Rendering;
using UnityEngine.TestTools;
namespace Hertzole.GoldPlayer.Tests
{
internal class GraphicsTest : BaseGoldPlayerTest
{
private GoldPlayerGraphic... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
// -----------------------------------------------------------------------
// <copyright file="AnchorElement.cs" company="SimpleBrowser">
// Copyright © 2010 - 2019, Nathan Ridley and the SimpleBrowser contributors.
// See https://github.com/SimpleBrowserDotNet/SimpleBrowser/blob/master/readme.md
// </copyright>
// --... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was automatically generated.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... |
// Copyright (c) 2021 Quetzal Rivera.
// Licensed under the MIT License, See LICENCE in the project root for license information.
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Telegram.BotAPI.AvailableMethods
{
public static partial class Avail... |
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Shopping.Aggregator.Models;
namespace Shopping.Aggregator.Services
{
public interface IBasketService
{
Task<BasketModel> GetBasket(string userName);
}
} |
using System;
using System.Linq;
namespace SharpShell.Attributes
{
/// <summary>
/// The ServerTypeAttribute can be used internally by SharpShell
/// to mark the type of a server base class. By setting this type,
/// classes derived from the decorated class will be able to use
/// the COMServerAss... |
#if WEBAPI
namespace Microsoft.Web.Http.Versioning.Conventions
#else
namespace Microsoft.AspNetCore.Mvc.Versioning.Conventions
#endif
{
using System;
using System.Diagnostics.Contracts;
using System.Reflection;
/// <summary>
/// Represents a builder for API versions applied to a controller action.... |
using Rainsoft.Validations.Attributes;
using Rainsoft.Validations.Attributes.Engine;
using Rainsoft.Validations.Core;
using System.Collections.Generic;
using Xunit;
namespace ValidationsTests
{
public class AttributeRestrictionsTests
{
class A0
{
[EndsWith("abc")]
publi... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using UKHO.ExchangeSetService.API.FunctionalTests.Helper;
using UKHO.ExchangeSetService.API.FunctionalTests.Models;
namespace UKHO.ExchangeSetService.API.FunctionalTests.FunctionalTests
{
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Docker Demo</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<l... |
namespace MicroMapper.UnitTests
{
using System;
#if !(SILVERLIGHT || NETFX_CORE)
using Rhino.Mocks;
#endif
using Xunit;
public class AutoMapperSpecBase : NonValidatingSpecBase
{
[Fact]
public virtual void Should_have_valid_configuration()
{
Mapper.AssertConfigu... |
using System;
using System.Collections.Concurrent;
using System.Threading;
using Lachain.Logger;
using Lachain.Consensus.Messages;
using Lachain.Utility.Utils;
using Prometheus;
namespace Lachain.Consensus
{
public abstract class AbstractProtocol : IConsensusProtocol
{
private static readonly ILogger<... |
using System;
using System.Collections.Generic;
using System.Text;
using OManager.BusinessLayer.Common;
using OManager.DataLayer.CommonDatalayer;
namespace OManager.BusinessLayer.QueryManager
{
[Serializable ]
public class OMQueryClause
{
private string m_Classname;//This will be a fully qualified cla... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using TumblThree.Applications.Extensions;
using TumblThree.Applications.Properties;
namespace TumblThree.Applications.Services
{
[Export(... |
using Newtonsoft.Json;
using OdinSdk.BaseLib.Coin.Trade;
using OdinSdk.BaseLib.Coin.Types;
using System.Collections.Generic;
namespace CCXT.NET.Huobi.Trade
{
/// <summary>
///
/// </summary>
public class HMyOrder : OdinSdk.BaseLib.Coin.Trade.MyOrder, IMyOrder
{
/// <summary>
///
... |
@model Facebook.Models.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Enter your email.</h4>
<hr />
... |
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
namespace CodeFactory.VisualStudio.Configuration
{
/// <sum... |
using Signum.Utilities.DataStructures;
using Signum.Utilities.ExpressionTrees;
using Signum.Utilities.Reflection;
using Signum.Utilities.Synchronization;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Diagnostics.CodeAna... |
// 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 provides an implementation of the pieces of the Marshal class which are required by the Interop
// A... |
using SocialNetwork.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialNetwork.Client
{
class StartUp
{
static void Main()
{
var ctx = new SocialNetworkContext();
ctx.Database.Create... |
using System;
using System.Linq;
using System.Linq.Expressions;
namespace Aksl.Data
{
/// <summary>
/// Extension methods for add And and Or with parameters rebinder
/// </summary>
public static class ExpressionBuilder
{
/// <summary>
/// Compose two expression and merge all in a n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.