text stringlengths 1 932k |
|---|
/*
* 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... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/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;
using System.Collections.Generic;
using UnityEngine;
namespace DevionGames.InventorySystem
{
public class Trigger2D : Trigger
{
public override bool CanUse()
{
//Return false if the trigger is already used
if (InUse || (Trigger.currentUsedTrigg... |
using System;
using System.Collections.Generic;
namespace Newtonsoft.Json.Utilities
{
// Token: 0x0200007D RID: 125
internal class ThreadSafeStore<TKey, TValue>
{
// Token: 0x06000668 RID: 1640 RVA: 0x00017291 File Offset: 0x00015491
public ThreadSafeStore(Func<TKey, TValue> creator)
{
if (creator == null... |
@using GridViewWebApi.Areas.HelpPage.ModelDescriptions
@model KeyValuePairModelDescription
Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescrip... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using OSky.Utility;
using OSky.Utility.Extensions;
using OSky.Web.Http.Security;
namespace OSky.Web.Http
{
/// <summary>
/// WebAPI辅助操作类
/// </summar... |
using System;
using FastFood.Models;
using Microsoft.EntityFrameworkCore;
namespace FastFood.Data
{
public class FastFoodDbContext : DbContext
{
public FastFoodDbContext()
{
}
public FastFoodDbContext(DbContextOptions options)
: base(options)
{
}
... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using OpenToolkit.Mathematics;
namespace OpenToolkit.Audio.OpenAL.Extensions.SOFT.SourceLatency
{
[Api(AL.Lib, typeof(OpenALLibraryNameContainer))]
public class Sourc... |
// <auto-generated>
// 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.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Amazon.S3.Model;
using FluentAssertions;
using Xunit;
namespace WebApi.IntegrationTests.Controllers.ImagesController.Post
{
[Collection(nameof(TestCollection))]
publi... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p4.Pisp.Models
{
using Newtonsoft.Json;
using Syste... |
using MessagePack;
using Thinktecture.Formatters;
namespace Thinktecture.Runtime.Tests.Formatters.EnumMessagePackFormatterTests.TestClasses
{
public class IntBasedEnumWithFormatterMessagePackFormatter : ValueObjectMessagePackFormatter<IntBasedEnumWithFormatter, int>
{
public IntBasedEnumWithFormatterMessag... |
using ReactiveUI;
using Shadowsocks.WPF.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imagin... |
using System;
using Microsoft.Practices.Unity;
using NUnit.Framework;
using Shared.ClassInheritance;
using Shared.ImplementationChain;
using Shared.InterfaceChain;
using Shared.InterfaceImplementation;
using FluentAssertions;
namespace UnityKnowledgeBase
{
public class KnowledgeBase
{
[Test]
public void d... |
using BotChannel.DataManager;
using System.Collections.Generic;
using System.Threading.Tasks;
using System;
using BotChannel.Model;
using Telegram.Bot.Types;
using BotChannel.Services;
using System.Linq;
using System.Threading;
namespace BotChannel
{
/// <summary>
/// Backgroud worker for post to all grops in db
/... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Template;
namespace Caber.Service.Http
{
public class CaberRequestRouter : ICaberRequestRouter
{
private readonly List<ICaberRoute> routes = new List<ICaberRoute>();
public CaberRequestRou... |
using AbhsChinese.Code.Common;
using AbhsChinese.Domain.AbhsException;
using AbhsChinese.Domain.AbhsResource;
using AbhsChinese.Domain.Dto.Response;
using AbhsChinese.Domain.Entity;
using AbhsChinese.Domain.Entity.StudentLessonAnswer;
using AbhsChinese.Domain.Entity.StudyTaskAnswer;
using AbhsChinese.Domain.Entity.Sub... |
using FlagData;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace FlagFacts
{
public partial class App : Application
{
public App()
{
DependencyService.Register<AllFlagsPage>();
InitializeComponent();
MainPage = new NavigationPag... |
// MyTested.WebApi - ASP.NET Web API Fluent Testing Framework
// Copyright (C) 2015 Ivaylo Kenov.
//
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
namespace MyTested.WebApi.Tests
{
using NUnit.Framework;
using Setups.Controllers;
[TestFixture]
publi... |
using Mediator.Net.Contracts;
using SugarChat.Message.Commands;
namespace SugarChat.Message.Requests
{
public class GetUnreadMessagesFromGroupRequest : IRequest, INeedUserExist
{
public string UserId { get; set; }
public string GroupId { get; set; }
public string MessageId { get; set; ... |
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using DynamicData;
using ReactiveUI;
using Rocket.Surgery.Airframe.Settings;
using Shiny.Stores;
namespace Rocket.Surgery.Airframe.Shiny.Settings
{
/// <summary>
/// Represents a <see cref="ISettingsProvider"/> for <see cref="IKeyValu... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Test.Tokenizer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP Inc.")]
[assembly: AssemblyProduct("Test.Tokenizer")]
[assembly: Ass... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11shadertracing.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using Sys... |
// 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 Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.Data;... |
using System;
using System.Collections.Generic;
namespace WebApplication1.Api
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; s... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/*
Copyright (c) 2015-2016, Schadin Alexey (schadin@gmail.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without modific... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using System.Web.OData.Extensions;
using System.Web.OData.Formatter;
using System.Web.OData.Fo... |
using Newtonsoft.Json;
namespace IqOption.Client.Models
{
public partial class UsersAvailabilityResult
{
[JsonProperty("statuses")]
public UsersAvailabilityStatus[] Statuses { get; set; }
}
} |
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("04... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml
{
#if false || false || false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class SetterBaseCollection : global::System.Collections.Generic.IList<gl... |
// 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.Xml;
using System.Xml.XPath;
using System.Globalization;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using System... |
using System;
using System.Web;
using Exceptionless.Dependency;
using Exceptionless.Plugins;
using Exceptionless.Web.Extensions;
namespace Exceptionless.Web {
public class ExceptionlessModule : IHttpModule {
private HttpApplication _app;
public virtual void Init(HttpApplication app) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace NReport {
public static class WebApiConfig {
public static void Register(HttpConfiguration config) {
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate:... |
//------------------------------------------------------------------------------
// <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 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("Qu... |
namespace Alturos.PanTilt.TestUI
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
/* Based on "Subkismet - The Cure For Comment Spam" v1.0: http://subkismet.codeplex.com/
*
* License: New BSD License
* -------------------------------------
* Copyright (c) 2007-2008, Phil Haack
* All rights reserved.
* Modified by Jaben Cargman for YAF in 2010
*
* Redistribution and use in source and bina... |
namespace PassiveViewPattern
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
public interface IModel
{
event EventHandler<EventArgs> PluginEnabled;
event EventHandler<ErrorEventArgs> PluginDisabled;
event EventHandler<ErrorEventAr... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: koubei.catering.biz.movehome.sync
/// </summary>
public class KoubeiCateringBizMovehomeSyncRequest : IAopRequest<KoubeiCateringBizMovehomeSyncResponse>
... |
namespace ForumSystem.App.Core
{
using Controllers;
using Controllers.Contracts;
using Enums;
using ForumSystem.Services.Contracts;
using ForumSystem.Services.Implementations;
using System;
using System.Collections.Generic;
using System.Linq;
using UserInterface;
using UserInter... |
namespace PosUP_CloudComputing_WebAPIDotNET.Areas.HelpPage.ModelDescriptions
{
public class DictionaryModelDescription : KeyValuePairModelDescription
{
}
} |
namespace Models
{
public enum TokenType : byte
{
Confirmation = 1,
PasswordRecovery = 2,
FileUpload = 3,
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace VirtualUniverse.Algorithm.MathComputer.Exceptions
{
/// <summary>
/// 随机数生成异常
/// </summary>
public class RandomRangeException : Exception
{
/// <summa... |
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls.Primitives;
namespace Chartreuse.Today.App.Tools
{
public static class PopupHelper
{
public static void TryCloseParentPopup(this FrameworkElement frameworkElement)
{
var popup = frameworkElement.Parent as Popup;
if (... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Acq5._12
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Ma... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.txt file at the root of this distribution.
*
*... |
#region Apache License
//
// 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
// (... |
@{
ViewData["Title"] = "Home Page";
}
<app-root params="history: history, basename: basename"></app-root>
@section scripts {
<script src="~/dist/main.js" asp-append-version="true"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase.js"></script>
<script>
// Initialize Fir... |
using CCom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using VRCModLoader;
using VRCTools;
namespace VRCModNetwork.commands
{
internal class AuthCommand : Command
{
private Action onSuccess;
private Action<string> onError;
... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Xml.XPath;
using System.Globalization;
using PCAxis.Sql.DbConfig;
//This code is generated.
namespace PCAxis.Sql.QueryLib_23
{
/// <summary>
/// Holds the attributes for ... |
using ETHBot.DataLayer.Data.Discord;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ETHBot.DataLayer.Data.Fun
{
// This class is to link DiscordUsers to PlaceBoardHistory -> save around 6... |
using System;
using System.Threading;
using System.Diagnostics;
// Implementation taken from https://gist.github.com/DraTeots/436019368d32007284f8a12f1ba0f545
namespace Data
{
public class HighResolutionTimer
{
/// <summary>
/// Tick time length in [ms]
/// </summary>
public s... |
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("ShortFuze.Core")]
[assembly: AssemblyDesc... |
using System;
using System.Collections.Generic;
using System.Linq;
using HotChocolate.Language;
using HotChocolate.Resolvers;
namespace HotChocolate.Types
{
public class InterfaceType
: NamedTypeBase
, IComplexOutputType
{
private ResolveAbstractType _resolveAbstractType;
prot... |
// *** 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.Dialogs.Declarative;
using Microsoft.Bot.Builder.Dialogs.Declarative.Resources;
using Newtonsoft.Json;
using System.Co... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// CreditPayReceivableVO Data Structure.
/// </summary>
[Serializable]
public class CreditPayReceivableVO : AopObject
{
/// <summary>
/// 应收结清时间
/// </summary>
[XmlElement("cl... |
using System;
using System.Threading.Tasks;
using Messages.Commands;
using Messages.Events;
using Rebus.Bus;
using Rebus.Sagas;
namespace Shipping
{
public class ShippingPolicy : Saga<ShippingPolicyData>,
IAmInitiatedBy<OrderPlaced>,
IAmInitiatedBy<OrderBilled>
{
private readonly IBus ... |
// Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace ICS.XFramework.Data
{
/// <summary>
/// DELETE / UPDATE 语句的SelectInfo属性解析器
/// </summary>
public sealed class NpgDeleteDbCommandDefinition : SelectDbCommandDefinition
{
private ISqlB... |
// <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 fa19projectgroup16.DAL;
namespac... |
using System;
using System.ComponentModel;
using System.Globalization;
namespace MediaBrowser.Plugins.SoundCloud.Drawing
{
public struct RectangleF
{
public readonly static RectangleF Empty;
private float x;
private float y;
private float width;
private float height... |
using System;
using System.ComponentModel.DataAnnotations;
using TMDB.Core.Attributes;
namespace TMDB.Core.Api.V3.Models.TV
{
[ApiGetEndpoint("/tv/{tv_id}/changes")]
public class TVChangesRequest : TVBaseRequest
{
public TVChangesRequest()
{
Page = 1;
}
/// <su... |
using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using NetEscapades.AspNetCore.SecurityHeaders.Infrastructure;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Extension methods for setting up security header services in an <see cref="IServiceCollection" />.
/... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace OpenCqrs.Commands
{
public abstract class CommandSequence : ICommandSequence
{
private readonly List<ICommand> _commands = new List<ICommand>();
public ReadOnlyCollection<ICommand> Commands => _commands.AsReadOnl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System.Collections.Generic;
namespace Simpler.Mocks
{
[MockFirst, MockSecond]
public class MockTaskWithAttributes : Task
{
public MockTaskWithAttributes()
{
CallbackQueue = new Queue<string>();
}
public Queue<string> CallbackQueue { get; set; }
pu... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using AdventureWorks.Application.DataEngine.Production.ScrapReason.Queries.GetScrapReasons;
using AdventureWorks.BaseDomain.Entities.Production;
using AdventureWorks.Domain;
using MediatR;
using Entities = Adventur... |
// 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.
#nullable enable
using System;
using System.Collections.Concurrent;
using System.Composition;
using System.Linq;
u... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... |
using System;
using WinBM;
using WinBM.Task;
using System.Collections.Generic;
using WinBM.Recipe;
using System.IO;
using System.Text;
using System.Linq;
using WinBM.Cmd.Arguments;
namespace WinBM.Cmd
{
class Program
{
static void Main(string[] args)
{
var param = new ArgumentParam... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScaleformUI
{
public class Colors
{
public static Color Transparent = Color.FromArgb(16777215);
public static Color AliceBlue = Color.FromArgb(-984833);
public st... |
using System;
namespace Cash.Web.Extensions
{
public static class DateTimeExtensions
{
public static DateTime FromUnixTime(this DateTime dateTime, long unixTimeStamp)
{
// Unix timestamp is milliseconds past epoch
var date = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTime... |
#region Copyright
/*Copyright (C) 2015 Wosad 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 a... |
namespace OilGas.Data.RRC.Texas
{
public interface IFieldInformationRecord
{
int GetRecordLength();
}
} |
namespace System
{
public static class StringExtensions
{
/// <summary>
/// Removes one leading occurrence of the specified string
/// </summary>
public static string TrimStart(this string me, string trimString, StringComparison comparisonType)
{
if (me.StartsWith(trimString, comparisonType))
{
re... |
// *** 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... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace SquaredEngine.PathEditor.Library {
/// <summary>
/// Class containing <see cref="Microsoft.Xna.Framework.Input.Mouse"/> extension methods.
/// </summary>
public static class MouseExtensions {
#region Mouse extensions
... |
/***************************************************************
* Description: Block buffer for reuse array
*
* Documents: https://github.com/hiram3512/HiSocket
* Support: hiramtan@live.com
***************************************************************/
using System;
using System.Collections.Generic;
using Sys... |
using Covid19Api.Endpoints.Rest.Tests.Fixtures;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace Covid19Api.Endpoints.Rest.Tests;
public class CountryStatisticsV1IntegrationTests : IClassFixture<WebApplicationFactoryFixture>
{
private const string ControllerBasePath = "api/v1/countries";
... |
using System;
using CafeLib.Cryptography.BouncyCastle.Asn1.X509;
namespace CafeLib.Cryptography.BouncyCastle.Asn1.Icao
{
/**
* The CscaMasterList object. This object can be wrapped in a
* CMSSignedData to be published in LDAP.
*
* <pre>
* CscaMasterList ::= SEQUENCE {
* version CscaMaster... |
using Homuai.Application.UseCases.Login.DoLogin;
using Homuai.Application.UseCases.Login.ResetPassword.RequestCode;
using Homuai.Application.UseCases.Login.ResetPassword.ResetPassword;
using Homuai.Communication.Request;
using Homuai.Communication.Response;
using Microsoft.AspNetCore.Mvc;
namespace Homuai.Api.Control... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Console.WriteLine("{0}", new string... |
@model Messenger_King_Courier.Models.AppModels.BankCategory
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>BankCategory</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Bank_Name)
</dt>
<dd>
@Html.DisplayFor(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.Validators
{
public class ValidationException : ApplicationException
{
public ValidationException(string message) : base(message) { }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BMWServices
{
public class FordAutoService : IAutoService
{
public void GetService()
{
Console.WriteLine("You chose Ford auto service");
}
}
} |
namespace Uno.Extensions.Serialization;
public static class SerializerExtensions
{
public static string ToString<T>(this ISerializer serializer, T value) =>
value is not null ?
serializer.ToString(value, typeof(T)) :
string.Empty;
public static T? FromString<T>(this ISerialize... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* This source code contains proprietary and confidential information of
* Valve ... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Iot.Common
{
... |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Operations;
using Diagnostics.Scripts.CompilationSer... |
// *** 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... |
namespace Api.Http
{
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using System;
using System.IO;
us... |
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("No... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restricti... |
using Newtonsoft.Json;
using NiceHashMiner.Configs;
using NiceHashMiner.Forms;
using NiceHashMiner.PInvoke;
using NiceHashMiner.Utils;
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Threading;
using System.Windows.Forms;
namespace NiceHashMiner
{
static class Pro... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuieroPizza.BL
{
public class Contexto: DbContext //heredamos funciones del entityframework
{
... |
/*
* 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... |
//------------------------------------------------------------------------------
// <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 Newtonsoft.Json;
using Yoakke.Lexer;
namespace Cesium.Test.Framework;
public class TokenConverter<T> : JsonConverter<IToken<T>> where T : Enum
{
public override void WriteJson(JsonWriter writer, IToken<T>? value, JsonSerializer serializer)
{
if (value == null)
writer.WriteNull();
... |
using System.Collections.Generic;
namespace Enrollment.Forms.ViewModels.Common
{
public class DetailListSettingsViewModel : DetailItemViewModel
{
public override DetailItemEnum DetailType { get; set; }
public string Field { get; set; }
public string Title { get; set; }
public DetailListTemplateViewMod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.