text stringlengths 1 932k |
|---|
// 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 disable
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.... |
using System.Collections.Generic;
using System.Linq;
using ZimmerBot.Core.Knowledge;
namespace ZimmerBot.Core.Parser
{
public class ZTokenSequence : List<ZToken>
{
public ZTokenSequence()
{
}
public ZTokenSequence(IEnumerable<ZToken> input)
: base(input)
{
}
public override s... |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 req... |
//------------------------------------------------------------------------------
// <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;
namespace Carupano.Model
{
public class CommandModel
{
public Type TargetType { get; }
public AggregateCorrelation Correlation { get; }
public CommandModel(Type commandType)
: this(commandType, null)
{
}
public CommandModel(Type comma... |
using ForceOfWillCube.ViewModels.LifeCount;
using Xamarin.Forms;
namespace ForceOfWillCube.Views.LifeCount
{
public partial class PlayerView : ContentView
{
private readonly PlayerViewViewModel viewModel;
public PlayerView(string name)
{
this.BindingContext = this.viewMode... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using BizHawk.Common;
using BizHawk.Client.Common;
using BizHawk.Emulation.Common;
using BizHawk.Client.EmuHawk.WinFormExtensions;
namespace BizHawk.Client.EmuHawk
{
public ... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.ApplicationModel.Background
{
#if false
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public enum SystemCo... |
using System;
using UIKit;
namespace Lion.XiOS
{
public partial class NumbersCell : UITableViewCell
{
public NumbersCell(IntPtr handle) : base(handle)
{
}
public override void AwakeFromNib()
{
base.AwakeFromNib();
}
public override void SetS... |
// <copyright file="finder.aspx.cs" company="Microsoft Corporation copyright 2010.">
// (c) 2010 Microsoft Corporation. All rights reserved.
// This source is subject to the Microsoft Public License.
// See http://www.microsoft.com/opensource/licenses.mspx.
//
// This document and/or software (“this Content”) has been ... |
using Identity.Api.Model;
using Microsoft.AspNetCore.Identity;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace Identity.Api.Extensions
{
public static class SignInExtensions
{
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using PetStore.Models;
namespace PetStore.Data.Configurations
{
public class ProductEntityConfiguration:IEntityTypeConfiguration<Product>
{
public void Configure(EntityTypeBuilder<Product> builder)
{
... |
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne
//
// 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... |
using System;
using Jasper.Util;
namespace IntegrationTests.Persistence.Marten
{
[MessageIdentity("Message1")]
public class Message1
{
public Guid Id = Guid.NewGuid();
}
[MessageIdentity("Message2")]
public class Message2
{
public Guid Id = Guid.NewGuid();
}
[Mess... |
@{
ViewBag.Title = (AnsattHelper.IsUserSuper(User.Identity.Name)) ? "Administrasjon" : "Min side";
}
<div class="container">
<div class="formdiv">
<div class="panel panel-default">
<div class="panel-heading">
@Html.ActionLink("< Tilbake", "Index", "Home", new { area = "" },... |
// *****************************************************************************
// 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... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace MoreAsyncLINQ
{
static partial class MoreAsyncEnumerable
{
/// <summary>
/// Returns a sequence with each null reference or value in the source... |
using Lucene.Net.Analysis;
using Lucene.Net.Search;
using Lucene.Net.Util;
using System;
namespace Lucene.Net.QueryParsers.Ext
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional... |
using VendrSandbox.Core.ViewModels;
using VendrSandbox.Core.ViewModels.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Models.PublishedContent;
namespace VendrSandbox.Core.Interfaces
{
public interface INavigationServic... |
/*
* 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;
namespace Python.Test
{
/// <summary>
/// Supports CLR enum unit tests.
/// </summary>
public enum ByteEnum : byte
{
Zero,
One,
Two,
Three,
Four,
Five
}
public enum SByteEnum : sbyte
{
Zero,
One,
Two,... |
using System.Runtime.Serialization;
using ServiceStack.Model;
using ServiceStack;
namespace RedisAdminUI.ServiceModel.Operations.SortedSet
{
[DataContract]
public class PopItemWithHighestScoreFromSortedSet
: IHasStringId
{
[DataMember]
public string Id { get; set; }
}
[DataContract]
public class PopItemW... |
using System.Configuration;
using Autofac;
using DemoApplication.Data;
using Libria.Session;
using Libria.Session.Autofac;
using Libria.Session.EF6;
namespace DemoApplication.IoC
{
public class DataModule : Module
{
protected override void Load(ContainerBuilder builder)
{
// Register repositories
builder.... |
// *** 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.Goog... |
using System.IO;
using System.Text;
using ValveResourceFormat.Blocks;
namespace ValveResourceFormat.ResourceTypes
{
public class Model : ResourceData
{
public override void Read(BinaryReader reader, Resource resource)
{
reader.BaseStream.Position = Offset;
var modelNam... |
/*
* 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.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Polkovnik.DroidInjector.Fody.Loggers;
using TypeSystem = Fody.TypeSystem;
namespace Polkovnik.DroidInjector.Fody.Implementors
{
internal class PropertySetterImplementor
{
private readonly PropertyDefinition _propertyDefinition;
p... |
using System.Web;
public class Person
{
public string getTelephone()
{
return "";
}
}
public class ExposureOfPrivateInformationHandler : IHttpHandler
{
public void ProcessRequest(HttpContext ctx)
{
// BAD: Setting a cookie value or values with private data.
ctx.Response.Coo... |
#nullable disable
using GurpsCompanion.Shared.DataModel.DataContext;
using GurpsCompanion.Shared.Validation;
namespace GurpsCompanion.Shared.DataModel
{
public class GlossaryModel
{
public GlossaryModel Clone()
{
return (GlossaryModel)MemberwiseClone();
}
public G... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using DynamicData;
namespace ApplicationTemplate
{
public interface IChuckNorrisService
{
/// <summary>
/// Returns a list of quotes that match the <paramref name="searchTerm"/>.
/// </summ... |
// 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.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;... |
namespace DomainModel
{
public class TeamCheckItem
{
public int Index { get; set; }
public string Key { get; set; }
public int Value { get; set;}
}
} |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using DRIMA.Authorization.Users;
namespace DRIMA.Sessions.Dto
{
[AutoMapFrom(typeof(User))]
public class UserLoginInfoDto : EntityDto<long>
{
public string Name { get; set; }
public string Surname { get; set; }
public stri... |
// This file is provided under The MIT License as part of Steamworks.NET.
// Copyright (c) 2013-2015 Riley Labrecque
// Please see the included LICENSE.txt for additional information.
// This file is automatically generated.
// Changes to this file will be reverted when you update Steamworks.NET
using System;
using S... |
// <copyright file="NameValueConfigurationSource.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry 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... |
// Copyright (c) 2012-2020 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
namespace Dicom.Network
{
using System;
using System.Globalization;
using System.Net.Sockets;
using Windows.Networking;
using Windows.Networking.Connectivity;
/// <summary>
/// Unive... |
using System;
using System.Collections.Generic;
using ColossalFramework;
using ColossalFramework.Plugins;
using Random = UnityEngine.Random;
namespace AutoLineColor.Naming
{
internal class DistrictNamingStrategy : INamingStrategy
{
public string GetName(TransportLine transportLine)
{
... |
namespace LazyData.Tests.Models
{
public class CyclicA
{
public CyclicB References { get; set; }
}
public class CyclicB
{
public CyclicA References { 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 RajUniEFCoreRP.Models;
namespace... |
namespace Abp.Domain.Entities
{
/// <summary>
/// Used to standardize soft deleting entities.
/// Soft-delete entities are not actually deleted,
/// marked as IsDeleted = true in the database,
/// but can not be retrived to the application.
/// </summary>
public interface ISoftDelete
{
... |
using System;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
namespace It.Uniba.Di.Cdg.SocialTfs.Client.Popups
{
/// <summary>
/// Interaction logic for UISettings.xaml.
/// </summary>
public partial class UISettings : UserControl
{
/// <summary>
/// Constructor... |
@{
ViewBag.Title = "用户管理";
Layout = "~/Views/Shared/_FlowForm.cshtml";
}
<script>
var keyValue = request('keyValue');
var instanceId = "";
var formId = "";
$(function () {
initControl();
$("#OrganizeId").ComboBoxTreeSetValue(organizeId);
$("#OrganizeId").attr('readonly',... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.CodeAnalysi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using Xunit.Abstractions;
namespace AdventOfCode.Day1813
{
public class Day1813Solution : SolutionBase<string[], string[]>
{
public override IEnumerable<string[]> G... |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Converters;
namespace Twilio.Rest.Api.V2010.Account.IncomingPhoneNumber
{
/// <summary>
/// ReadLocalOptions
///... |
/*
* 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.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("Mi... |
/*
* 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... |
namespace Skender.Stock.Indicators;
public static partial class Indicator
{
// TRIPLE EMA OSCILLATOR (TRIX)
/// <include file='./info.xml' path='indicator/*' />
///
public static IEnumerable<TrixResult> GetTrix<TQuote>(
this IEnumerable<TQuote> quotes,
int lookbackPeriods,
int? ... |
// (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 Microsoft.Phone.Controls;
namespace PhoneToolkitSample.Samples
{
public partial class TransferCon... |
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System;
using MLAPI.Serialization.Pooled;
using MLAPI.Transports;
namespace MLAPI.NetworkVariable
{
/// <summary>
/// A variable that can be synchronized over the network.
/// </summary>
[Serializable]
public class Network... |
// ==========================================================================
// JsonField.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// =============================================================... |
using System;
using System.Text;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using UnityEngine;
using AppDomain = ILRuntime.Runtime.Enviorment.AppDomain;
using ShineEngine;
public class PetConfigAdapter : CrossBindingAdaptor
{
public override Type BaseCLRType... |
// Copyright 2014 Joshua R. Rodgers
//
// 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 agre... |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... |
using System;
namespace ExtendedMap.Forms.Plugin.Abstractions.ExtensionMethods
{
public static class DateTimeExtensions
{
public static DateTime FromWeekDay(this DateTime date, DayOfWeek dayOfWeek)
{
var today = new DateTime();
for (int day = 1; day <= 7; day++)
{
if (today.DayO... |
using NewsSite.Data.Models;
using NewsSite.Web.Infrastructure.Mapping;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoMapper;
namespace NewsSite.Web.Areas.Administration.InputModels.Articles
{
public... |
using System;
using System.IO;
namespace Sidekick.Common
{
public static class SidekickPaths
{
public static string GetDataFilePath(string path = "")
{
var environmentFolder = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
var sidekickFolder = Path... |
@page
@model IndexModel
@{
}
@{
ViewData["Title"] = "Ph4ct3x - Diagnostic Tests - Motorical";
}
<html>
<body>
<h1>@ViewData["Title"]</h1>
<ul>
<li>
<a asp-page="./MaxLoadApproximation">
Approximation for 1RM (1 repetitio/rep maximum, one repetition max) AKA Max Load
... |
using System;
using BoDi;
using TechTalk.SpecFlow.Infrastructure;
namespace betterbinding
{
public class ArgumentInjectionBindingInstanceResolver : IBindingInstanceResolver
{
public object ResolveBindingInstance(Type bindingType, IObjectContainer scenarioContainer)
{
return scenari... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISPViolation
{
public interface IReportBAL
{
void GeneratePFReport();
void GenerateESICReport();
void GenerateResourcePerformanceReport();
void Generat... |
using Microsoft.Extensions.DependencyInjection;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Configuration.Logging;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.Consensus;
using Stratis.Bitcoin.Features.Consensus.CoinViews;
using Stratis.Bitcoin.Features.Consensus.Interfaces;
using Stratis.B... |
namespace Clinica.Web.Data
{
using System.Collections.Generic;
using System.Linq;
using Entities;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
public class PacientRepository : GenericRepository<Pacients>, IPacientRepository
{
private readonly DataC... |
// 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.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using Microsoft.C... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.eco.cityservice.industrymsg.auth.batchquery
/// </summary>
public class AlipayEcoCityserviceIndustrymsgAuthBatchqueryRequest : IAopRequest<AlipayEc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Deveel.Workflows.Graph;
namespace Deveel.Workflows {
class ActivityBranchBuilder : IActivityBranchBuilder, IExecutionNodeBuilder {
public ActivityBranchBuilder() {
Activities = new List<ActivityBuilder>();
Stra... |
namespace Rees.UserInteraction.Contracts
{
/// <summary>
/// Represents a file open or choose file dialog.
/// </summary>
public interface IUserPromptOpenFile
{
/// <summary>
/// The optional extension to include as an alternative file extension to filter to.
/// </s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Data.Linq.Mapping;
namespace cs_testbed
{
class Program
{
static void Main(string[] args)
{
//Northwnd db = new Northwnd(@"c:\northwnd.mdf");
}
... |
using IFPS.Sales.Domain.Model;
using System;
namespace IFPS.Sales.Application.Dto
{
public class MessageListDto
{
public string Text { get; set; }
public DateTime Sent { get; set; }
public MessageChannelParticipantListDto Sender { get; set; }
public MessageListDto(ParticipantM... |
using System.Threading.Tasks;
using Abp.Application.Services;
using Odco.PointOfSales.Authorization.Accounts.Dto;
namespace Odco.PointOfSales.Authorization.Accounts
{
public interface IAccountAppService : IApplicationService
{
Task<IsTenantAvailableOutput> IsTenantAvailable(IsTenantAvailableInput inpu... |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// KoubeiCateringOrderInfoVerifyResponse.
/// </summary>
public class KoubeiCateringOrderInfoVerifyResponse : AlipayResponse
{
/// <summary>
/// 核销是否幂等,true-幂等,false-没幂等
/// <... |
using System;
using System.Threading.Tasks;
namespace DodoCafe.Networking.Sockets
{
public partial class CSignalReceivingTcpSocket
{
public class CSignalReceivingTcpSocketConnectingState : ISignalReceivingTcpSocketState
{
private static string ERROR_CONNECT_ASYNC_IS_CALLED_IN_SIGNA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace enfermos.con.covid19
{
class nodo
{
public enfermos info;
public nodo Siguiente;
public nodo Anterior;
public nodo(enfermos valor)
{
... |
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using JdSdk.Domain.Website.Response;
using JdSdk.Request;
using JdSdk.Domain.Website.Response;
namespace JdSdk.Domain.Website.Request
{
public class OrderCreateRequest : JdRequestBase... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System.IO;
using System.Text;
using Mond.Libraries;
using NUnit.Framework;
namespace Mond.Tests.Libraries
{
public class LibraryManagerTests
{
[TestCase]
public void AddIndividualLibrary()
{
var state = new MondState
{
Libraries = new MondL... |
/* MIT License
Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net)
All rights reserved.
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 li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Application.Data.Models;
using Application.Repo.Contracts;
using Microsoft.EntityFrameworkCore;
/**
*
* name : GenericRepository.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespa... |
using System;
using System.Collections.Generic;
using SearchAcceleratorFramework.Collectors;
namespace SearchAcceleratorFramework
{
public interface ISearchProcessor
{
/// <summary>
/// Registers a collector to perform search against a data source (e.g. database, file, website).
/// </summary>
//... |
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Effektiv.ApplicationCore.Entities.OrderAggregate;
using Effektiv.Applicatio... |
namespace HandlebarsDotNet.Pools
{
internal class GenericObjectPool<T> : InternalObjectPool<T, GenericObjectPool<T>.Policy>
where T : class, new()
{
public static GenericObjectPool<T> Shared { get; } = new();
private GenericObjectPool() : base(new Policy()) { }
public... |
// 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 Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ContosoUniversity.Utils
{
public class PaginatedList<T> : List<T>
{
public int PageIndex { get; private set; }
public int TotalPages { get; private se... |
using System;
public class ServerInfo
{
public int serverNo;
public string serverName;
public string serverIp;
public string serverPort;
public int status;
public int isNew;
public int openTime;
public int playerLevel;
public int isOpen;
public string other;
} |
<!DOCTYPE html>
<html>
<head>
<title>Log4Net.SignalR</title>
<link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/bootstrap.min.css")" />
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Scri... |
// Copyright (c) 2015 - 2019 Doozy Entertainment. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
using Doozy.Editor.Nody.NodeGUI;
using Doozy.Engine.Extensions;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CMPEBrandonFooteLab3
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.open.mini.qrcode.bind
/// </summary>
public class AlipayOpenMiniQrcodeBindRequest : IAopRequest<AlipayOpenMiniQrcodeBindResponse>
{
///... |
@using Microsoft.AspNetCore.Identity
@inject SignInManager<Guest> SignInManager
@inject UserManager<Guest> UserManager
@inject IMemberService Members
@inject IPatronService Patron
@model MovieServiceModel
@{
var userId = User.GetId();
<div class="container">
<div class="jumbotron">
@if... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Dfm
{
using System.Collections.Generic;
public abstract class DfmFencesBlockPathQueryOption : IDfmFencesBlockPathQueryOption
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Tests WeakReference.Target
// Retrieves or assigns the object an IsAlive status.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
publi... |
// 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.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.Runtime.InteropServices... |
namespace Skender.Stock.Indicators;
[Serializable]
public class ObvResult : ResultBase
{
public double Obv { get; set; }
public double? ObvSma { get; set; }
} |
/*
* 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... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... |
namespace RevisaoWebAPI.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
public ModelDescription KeyModelDescription { get; set; }
public ModelDescription ValueModelDescription { get; set; }
}
} |
/*
* 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... |
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for gerado ... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(13547,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_0082_0
{
public uint DataSiz... |
using System.Linq;
using NUnit.Framework;
using static TypeNameInterpretation.InsTypeFactory;
namespace TypeNameInterpretation.Test
{
[TestFixture]
class InsTypeFactoryTest
{
[Test]
public void AssemblyQualificationFactory()
{
var qualification = Qualification("name", "value");
Assert.That(qualification... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.