text stringlengths 1 932k |
|---|
using Newtonsoft.Json.Linq;
using SuchByte.MacroDeck.GUI.CustomControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SuchByte.MacroDeck.GUI... |
//// --------------------------------------------------------------------------------------------------------------------
//// <copyright file="Container.cs" company="">
////
//// </copyright>
//// <summary>
//// Autofac对象容器
//// </summary>
//// --------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Unity.Builder;
using Unity.Builder.Strategy;
using Microsoft.Practices.EnterpriseLibrary.Common.Utility;
namespace Unity.SolrNetCloudIntegration.Collections
{
public class CollectionResolutionStrategy : BuilderStrategy
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WMT
{
class Program
{
static void Main(string[] args)
{
}
}
} |
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Rocks.Caching
{
/// <summary>
/// A dummy cache provider that will cache everything in the <see cref="Items"/> property.
/// Items will not expire.
/// Good for unit tests.
/// </summary>
public class DummyCacheProvider : ICacheProv... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// This file is best viewed using outline mode (Ctrl-M Ctrl-O)
//
// This program uses code hyperlinks available as part of the HyperAddin Visual Studio plug-in.
// It is available from http://www.codeplex.com/hyperAddin
//
using Microsoft.Diagnostics.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Acn.Rdm.Packets.Net
{
public class EndpointTiming
{
public class Get : RdmRequestPacket
{
public Get()
: base(RdmCommands.Get, RdmParameters.EndpointTiming)
{... |
//
// PerformRewrite.cs
//
// Authors:
// Chris Bacon (chrisbacon76@gmail.com)
//
// Copyright (C) 2010 Chris Bacon
//
// 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, ... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ICSharpCode.WpfDesign.Designe... |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
// 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 Float = System.Single;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.... |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modif... |
using MediatR;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace eShop.Api
{
[ApiController]
[Route("api/v1/[controller]")]
public abstract class AbstractApiController :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using UserContragents.Models;
using UserContragents.Services.Contracts;
namespace UserContragents.Controllers
{
p... |
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
{
public sealed partial class Sid
{
private sealed class Voice
{
private int _accBits;
private int _accNext;
private int _accumulator;
private bool _controlTestPrev;
private int _controlWavePrev;
private int _del... |
using UnityEngine;
public class BrickController : MonoBehaviour {
private int m_hitsToKill;
private int m_points;
private int m_numberOfHits;
private bool m_havePowerUp = false;
public GameObject m_powerUp;
public GameManager m_GM;
void Start () {
m_numberOfHits = 0;
m_hitsToKill = 1;... |
using System;
using System.IO;
using System.Reflection;
namespace GeoJSON.Text.Test.Benchmark
{
internal static class JsonEmbeddedFileReader
{
public static string GetExpectedJson(string fileName)
{
var myType = typeof(JsonEmbeddedFileReader);
var currentNamespace = myT... |
// *** 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 Orchard;
using Orchard.Localization;
using Orchard.Themes;
using System.Linq;
using System.Web.Mvc;
using Time.Data.EntityModels.Epicor;
using Time.Epicor.ViewModels;
namespace Time.Epicor.Controllers
{
[Authorize]
[Themed]
public class InterimController : Controller
{
public IOrchardSer... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Aiursoft.Account.Models.AccountViewModels
{
public class TwoFactorAuthenticationViewModel : AccountViewModel
{
[Obsolete(error: true, message: "This method is only for framework!")]
pub... |
// for non-Generic
using System.Collections;
//using System.Collections.Generic; for Generic
namespace CSharpBasics
{
public class CSharpCollections
{
public static void NonGenerics(){
/*ArrayList employees = new ArrayList();
employees.Add("Marcelle"); // will be stored as object... |
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... |
public class UIManager
{
public bool isWindowOpened = false; // октрыто ли какое-либо игровое окно (для блокировки корабля)
public static UIManager Internal { get; set; }
public static UIManager GetInstance()
{
if (Internal == null)
{
Internal = new UIManager();
}
... |
//---------------------------------------------------------
// <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.
//
// Generated on 2020 October 09 05:04:24 UTC
// </auto-generated>
//--------------... |
using System.Collections.Generic;
namespace MvcPaging
{
public interface IPagedList
{
int PageCount { get; }
int TotalItemCount { get; }
int PageIndex { get; }
int PageNumber { get; }
int PageSize { get; }
bool HasPreviousPage { get; }
bool HasNextPage { get; }
bool IsFirstPage { get; }
bool IsLas... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Microting.eFormBasicCaseManagementBase.Migrations
{
public partial class FixingMigrations : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "... |
// The MIT License(MIT)
//
// Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors
//
// 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 withou... |
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 SureSQL.Forms
{
public partial class form_Tree : Form
{
public form_Tree()
... |
/*
* 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using Microsoft.Quantum.Simulation.Core;
namespace Microsoft.Quantum.Simulation.Simulators
{
public partial class QrackS... |
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using DeptManage.MultiTenancy.Dto;
namespace DeptManage.MultiTenancy
{
public interface ITenantAppService : IAsyncCrudAppService<TenantDto, int, PagedResultRequestDto, CreateTenantDto, TenantDto>
{
}
} |
namespace ScottPlot
{
partial class ucInteractive
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... |
// Copyright (c) Roman Kuzmin
// http://www.apache.org/licenses/LICENSE-2.0
using MongoDB.Driver;
using System.Management.Automation;
namespace Mdbc.Commands
{
[Cmdlet(VerbsCommon.Get, "MdbcDatabase"), OutputType(typeof(IMongoDatabase))]
public sealed class GetDatabaseCommand : AbstractClientCommand
{
[Paramet... |
#Wed Oct 14 16:14:26 BST 2020
lib/features/com.ibm.websphere.appserver.security-1.0.mf=42700e37782dbe234ceabbb33136c95b
lib/com.ibm.websphere.security.impl_1.0.46.jar=330ac8708babcdbd9ee342a3f3ad7268
lib/com.ibm.ws.security.quickstart_1.0.46.jar=45da9bd4c0e7a93d93d75770a0b61805
dev/api/ibm/javadoc/com.ibm.websphere.app... |
namespace Z80EmuLib
{
partial class Z80Emu
{
OperationDelegate[] m_opcodes_cb;
void InitializeOpcodesCB()
{
m_opcodes_cb = new OperationDelegate[] {
op_CB_0x00, op_CB_0x01, op_CB_0x02, op_CB_0x03,
op_CB_0x04, op_CB_0x05, op_CB_0x06, op_CB_0x07,
op_CB_0x08, op_CB_0x09, op_CB_0x0a, op... |
using System;
using System.Collections;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Collections.Specialized;
using log4net;
using System.Reflection;
using Bussiness;
namespace Tank.Request
{
/// <summar... |
using Genbox.SimpleS3.Core.Abstracts.Enums;
using Genbox.SimpleS3.Core.Abstracts.Request;
using Genbox.SimpleS3.Core.Abstracts.Response;
using Genbox.SimpleS3.Core.Common;
using Genbox.SimpleS3.Extensions.HttpClient.Internal;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Genbox.Sim... |
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
namespace VanirsWatch.reader
{
class Reader
{
private const int PROCESS_WM_READ = 0x0010; //"read"-token
private const int INTBUFFER_SIZE = 4; //max byte length´, 4 is enough for... |
using FluentAssertions;
using FunctionalTests.Base;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net;
using System.Threading.Ta... |
// Copyright 2004-2009 Castle Project - http://www.castleproject.org/
//
// 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 ... |
namespace SK.WMS.INV30.OUB.UI
{
partial class OUB3150
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#region Dominio
using Eimbo.Dominio.Comum.Entidade;
using Eimbo.Dominio.Comum.Excecao;
#endregion
namespace Eimbo.Dominio.Cadastro.Validacao
{
public class ValidadorCidade
{
private Cidade _cidadeEmAlteracao;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Custom collision detection box for a dungeon tile.
/// </summary>
[RequireComponent(typeof(BoxCollider))]
public class DungeonTileCollisionBox : MonoBehaviour
{
[SerializeField] private DungeonTile tile;
... |
// Copyright 2019 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... |
namespace AvalonStudio.Projects.OmniSharp
{
using System.Collections.Generic;
using System.Threading.Tasks;
public class VisualStudioSolutionType : ISolutionType
{
public string Description
{
get
{
return "Visual Studio Solution Files";
... |
using Discord.Commands;
using Discord.WebSocket;
using DragonLore.MagicNumbers.Channels;
using DragonLore.MagicNumbers.Roles;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace DragonLore.PreConditions
{
internal class RequireAdminPermission : ... |
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("Pl... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace simpleCart
{
/// <summary>
/// Summary description for Global.
/// </summary>
public class Global : System.Web.HttpApplication
{
protected void Application_Start(Object sender, EventA... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Net;
using System.Net.Security;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Server.Kestrel.Transport.Qui... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// AOP API: alipay.eco.cplife.bill.delete
/// </summary>
public class AlipayEcoCplifeBillDeleteRequest : IAlipayRequest<AlipayEcoCplifeBillDeleteR... |
//! \file ImageMGO.cs
//! \date 2017 Dec 31
//! \brief Melody compressed image.
//
// Copyright (C) 2017 by morkt
//
// 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 withou... |
using Oracle.ManagedDataAccess.Client;
using System.Configuration;
using System.Data;
using NUnit.Framework;
using NetTopologySuite.IO.Sdo;
namespace NetTopologySuite.IO.Oracle.Connection.Test
{
public static class OracleHelper
{
/// <summary>
/// Opens a connection to the test data... |
using ClickOnceDMLib.Interfaces;
using ClickOnceDMLib.Process;
using ClickOnceDMLib.Structs;
using ClickOnceDMLib.Utils;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading;
namespace ClickOnceDMService
{
p... |
using DevApp.Areas.Administration.Models.Document;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevApp.Areas.Administration.Models.Dashboard
{
public class AdminDashboardModel
{
public IEnumerable<DocumentDashboardListingModel> Documents { ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EpicSerializerTest.Model;
using EpicSerializer;
using System.Collections.Generic;
namespace EpicSerializerTest
{
[TestClass]
public class EpicSerializerTests
{
[ExpectedException(typeof(EpicSerializerException))]
[Test... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace DominoBinary
{
public class Decode
{
public static void Start(string Input)
{
if (MainClass.SetArgs.InputType.ToUpper().StartsWith("F", StringComparison.Ordinal))
{
Console.WriteLine(GetDecodedData(File(Input... |
namespace Domain.Models {
public class Product {
public int ProductId { get; set; }
public string Name { get; set; }
public string Manufacturer { get; set; }
public string Style { get; set; }
public decimal PurchasePrice { get; set; }
public decimal SalePrice { get; s... |
// Copyright (c) Microsoft Corporation. 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;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.T... |
using Dahomey.Json.Attributes;
using System;
using System.Numerics;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace ch1seL.TonNet.Client.Models
{
/// <summary>
/// Not described yet..
/// </summary>
public class ResultOfHDKeyDeriveFromXPrv
{
/// <summary>
///... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class EndScreen : MonoBehaviour
{
public delegate void ButtonPressedHandler();
public static event ButtonPressedHandler playAgainPressed;
public static ... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBehTreeNodeVitalSpotActiveDefinition : ... |
using System;
using System.Text.Json;
using GloboTicket.Promotion.Messages.Venues;
using FluentAssertions;
using Xunit;
namespace GloboTicket.Promotion.Messages.UnitTest
{
public class VersionTest
{
[Fact]
public void CanDeserializeVenue_Version1()
{
string venueRepresentati... |
using Verse;
using Verse.Sound;
using RimWorld;
using AbilityUser;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace TorannMagic
{
[StaticConstructorOnStartup]
public class Projectile_BloodMoon : Projectile_AbilityBase
{
private bool initialized = false;
pri... |
using System;
using System.Linq;
using System.Collections.Generic;
namespace _3._The_Final_Quest
{
class Program
{
static void Main(string[] args)
{
List<string> words = Console.ReadLine().Split().ToList();
string commands = Console.ReadLine();
while (comma... |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System.Collections.Generic;
using System.IO;
using Silk.NET.BuildTools.Common;
using Silk.NET.BuildTools.Common.Enums;
using Silk.NET.BuildTools.Common.Function... |
using System;
using System.Text;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
namespace UnityEngine.XR.ARCore
{
static class StringExtensions
{
public static unsafe NativeArray<byte> ToBytes(this string @string, Encoding encoding, Allocator allocator)
{
if (@str... |
// <copyright file="WorldObserverToHubAdapter.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.AdminPanel.Hubs
{
using System;
using System.Collections.Generic;
using System.Linq;
using... |
using Newtonsoft.Json;
namespace GitterSharp.Model
{
public class RoomUnreadCount
{
[JsonProperty("id")]
public string RoomId { get; set; }
[JsonProperty("uri")]
public string RoomUri { get; set; }
[JsonProperty("unreadItems")]
public string UnreadItemsCount {... |
using UnityEngine;
namespace CyberInfection.GameMechanics.Weapon.Components
{
public class LocalShootComponent : IShootComponent
{
private WeaponController _weaponController;
public LocalShootComponent(WeaponController weaponController)
{
_weaponController = weaponControlle... |
/*
* 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 ... |
using Ninject.Modules;
using FM.Common;
using FM.Common.Contracts;
using FM.Common.FileProviders;
using FM.Mapper;
namespace FM.ConsoleClient
{
public class NinjectBindings : NinjectModule
{
public override void Load()
{
Bind<ILogger>().To<FileLogger>();
Bind<IFileMana... |
using System;
namespace CS.Itself.Iterator
{
class Program
{
static void Main(string[] args)
{
EnumerableCollection collection = new EnumerableCollection();
foreach (var item in collection)
{
Console.WriteLine(item);
}
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Supermarket.API.Domain.Models;
namespace Supermarket.API.Persistence.Contexts.Configurations
{
public class CategoryConfiguration : IEntityTypeConfiguration<Category>
{
public void Configure(EntityTypeBuil... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using Sys... |
using MTProto.NET.Attributes;
namespace MTProto.NET.Schema.TL.Requests.Payments
{
[MTObject(0x227d824b)]
public class TLGetSavedInfo : MTObject
{
public override uint Constructor
{
get
{
return 0x227d824b;
}
}
}
} |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// by DotNetNuke Corporation
//
// 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 restrict... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Gra... |
@model DarkSoulsSite.Entities.Common.Boss
@{
ViewBag.Title = "Edit";
}
<div id="TopPillars"></div>
<div id="MiddlePillars">
<div id="Border">
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Boss</h4>
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Premiumize.API
{
public class BaseRequest
{
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("message")]
public string Message { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;
using System.Web.UI;
namespace EmailClient
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkID=303951
public static void RegisterB... |
namespace EasyCaching.ResponseCaching
{
public interface IResponseCachingPolicyProvider
{
/// <summary>
/// Determine whether the response caching logic should be attempted for the incoming HTTP request.
/// </summary>
/// <param name="context">The <see cref="ResponseCachingCont... |
using Hangfire;
using HangFire.EventQueue.Core.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Ho... |
/*
* Copyright 2015-2018 Mohawk College of Applied Arts and Technology
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... |
using System.Collections.Generic;
using API.BLL.Base;
using API.BLL.UseCases.RolesAndRights.Entities;
using API.BLL.UseCases.RolesAndRights.Transformer;
namespace API.BLL.UseCases.RolesAndRights.Daos
{
public interface IRightDao : IDao<Right, RightIdent, RightTransformer>
{
List<Right> FindAll();
}... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PizzaBox.Client.Controllers
{
public class OrderController : Controller
{
OrderClient client = new OrderClient();
public IActionResult CustomerOrders(int i... |
/*
* 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 ... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.269
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Soo... |
using System;
using Android.OS;
using Android.Runtime;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Core.ViewModels;
using MvvmCross.Droid.Shared.Fragments;
using MvvmCross.Droid.Support.V17.Leanback.Fragments.EventSource;
using MvvmCross.Droid.Support.V4;
namespace MvvmCross.Droid.Support.V17.Leanback.Fra... |
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class TerrariaEditorTarget : TargetRules
{
public TerrariaEditorTarget( TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.V2;
ExtraModuleNa... |
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* involving Domain Dri... |
@model vts.Web.Models.ApplicationUser
@{
ViewBag.Title = "Suspend User";
}
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="@Url.Action("Index", "Home")">Home</a></li>
<li class="breadcrumb-item"><a href="@Url.Action("Users", "Account")">User Management</a></li>
<li class="breadcrumb-item ... |
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
namespace Microsoft.Maui.Controls.ControlGallery.Issues
{
#if UITEST
[NUnit.Framework.Category(Core.UITests.UITestCategories.Bugzilla)]
#endif
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 53362, "Layout regressi... |
using System;
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Stl.CommandR;
using Stl.DependencyInjection;
using Stl.Fusion.EntityFramework.Authentication;
using Stl.Fusion.EntityFramework.Extensions;
... |
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
namespace JsonTest2
{
enum RunType
{
Debug,
Production
}
[DataContract]
class AuthorConfig
{
[DataMember]
public string Name { get; set; }
[DataM... |
namespace Easy.Logger.Benchmarker
{
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Easy.Logger.Interfaces;
internal class Program
{
private readonly TimeSpan _duration;
private readonly IEasyLogger _l... |
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("13... |
// cs0114.cs: `Y.XX()' hides inherited member `X.XX()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
// Line: 8
// Compiler options: -warnaserror -warn:2
public abstract class X {
public abstract void XX ();
}
class Y : X {
void XX () {}
} |
/*
* Copyright (c) 2015, InWorldz Halcyon Developers
* 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 source code must retain the above copyright notice, this
*... |
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("02.... |
using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.CSharp.Files.Handling
{
public class SaveInODSFormat
{
public static void Run()
{
// ExStart:1
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.