content stringlengths 23 1.05M |
|---|
using System;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
///
/// </summary>
public class RecipeManager : MonoBehaviour
{
/// <summary>
/// Instantiate class object
/// </summary>
public static RecipeManager Instance
{
get
{
if (instance =... |
using PressCenter.Data.Models;
namespace PressCenter.Services.Data
{
public interface IDataValidationService
{
bool ValidateNews(INews news);
bool ValidateTopNews(ITopNews news);
}
} |
// Copyright (c) Zolution Software Ltd. All rights reserved.
// Licensed under the MIT License, see LICENSE.txt in the solution root for license information
using System;
namespace Rezolver.Events
{
/// <summary>
/// Contains the arguments for the <see cref="IRootTargetContainer.TargetRegistered"/> event ex... |
namespace FoodShortage
{
using System;
using System.Collections.Generic;
using System.Linq;
using Interface;
using Model;
public class StartUp
{
static void Main()
{
var buyers = new HashSet<IBuyer>();
int countOfPeople = int.Parse(Console.ReadLine()... |
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using UCRS.Data.Contracts;
using UCRS.Data.Models;
namespace UCRS.Data
{
public class UniversitySystemDbContext : DbContext, IUniversitySystemDbContext
{
public UniversitySystemDbContext()
: base("UniversitySystemD... |
//---------------------------------------------------------------------
// <copyright file="IProviderType.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------------... |
using ESC.Infrastructure;
using ESC.Infrastructure.DomainObjects;
using ESC.Service;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Microsoft.AspNetCore.Mvc;
namespace ESC.Web.Controllers
{
public class WStockController : BaseController
{
... |
using System;
using StoryTeller.Commands;
using StoryTeller.Messages;
namespace ST.Client.Persistence
{
public class RequestSpecDataCommand : Command<SpecDataRequested>
{
private readonly Lazy<IPersistenceController> _persistence;
private readonly Lazy<IClientConnector> _client;
publi... |
using System.Runtime.InteropServices;
using Clarity.Common.Numericals.Algebra;
namespace Clarity.Common.Numericals.Geometry
{
[StructLayout(LayoutKind.Sequential)]
public struct LineSegment3 // todo: IEquatable<>
{
public Vector3 Point1;
public Vector3 Point2;
public LineSegment3(... |
namespace SnakeGame.IO.Contracts
{
public interface IWriter
{
void WriteLine(string value);
void Write(string value);
}
}
|
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Assertions;
using System.Collections;
using GhostGen;
using DG.Tweening;
public class PlayerHandView : UIView
{
public Transform[] cardSlotList;
public CanvasGroup canvasGroup;
public Transform dragCardLayer;
public Image dragBlocker;
pr... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.PixelFormats;
public class BitmapDiff
{
private readonly int _tolerance = ushort.MaxValue / 4;... |
using System;
using System.Collections.Generic;
using UnityEngine;
using Object = UnityEngine.Object;
/// <summary>
/// 资源预读,一个游戏只能有一个该对象
/// </summary>
public class SuperResource : SingleObject<SuperResource>
{
private readonly Dictionary<string, Object> resDic = new Dictionary<string, Object>();//构建的对象池
pri... |
using System;
using System.Text.Json.Serialization;
namespace Conceptoire.Twitch.API
{
public class IGDBGame
{
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("age_ratings")]
public int[] AgeRatings { get; set; }
[JsonPropertyName("aggregated_ra... |
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using LevelEditor.Models;
namespace LevelEditor.Services {
public class TileMapService {
private static TileMapService _instance;
public static TileMapServic... |
using System;
using RimWorld;
using Verse;
namespace RaceWeapons
{
// Token: 0x02000037 RID: 55
[DefOf]
public static class ThingDefOf
{
// Token: 0x060000AE RID: 174 RVA: 0x00006159 File Offset: 0x00004359
static ThingDefOf()
{
DefOfHelper.EnsureInitializedInCtor(typeof(ThingDefOf));
}
// Token: 0x... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lycus.Satori
{
/// <summary>
/// Represents an Epiphany platform.
/// </summary>
public sealed class Machine : IDisposable
{
public const int MinRows = 2;
public const int Ma... |
using Equilaterus.Vortex.Saturn.Commands;
using Equilaterus.Vortex.Saturn.Services;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Equilaterus.Vortex.Saturn.Tests.Commands
{
public class DeleteAdjuntableTests : BaseActionTest<Adju... |
// ForStatement.cs
// Script#/Core/ScriptSharp
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
namespace ScriptSharp.ScriptModel {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gallio.Model;
using Gallio.ConcordionAdapter.Properties;
namespace Gallio.ConcordionAdapter.Model
{
/// <summary>
/// Builds a test object model, based on Concordion attributes using reflection
/// </sum... |
//--------------------------------------------------------------------------------------
// FixedScroll.cs
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//----------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using Monaco.Bus.MessageManagement.Serialization;
using Monaco.Configuration;
using Xunit;
namespace Monaco.Tests.Bus.Internals.Serializer
{
public class DataContractSerializerTests : IDisposable
{
private IConfiguration configuration;
public Dat... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace streamdeck_client_csharp.Events
{
public class TitleParametersPayload
{
[JsonProperty("settings")]
public JObject Settings { get; private set; }
[JsonProperty("coordinates")]
public Coordinates Coordinates { get; pri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SnealUltra.Assets._Project.Scripts.Mixins;
public class FloatData : MixinBase
{
[SerializeField]
float data;
public CurrentWeaponData weaponDefination;
public List<MixinBase> updateMixins;
public ov... |
using System;
using MassTransit;
using MassTransit.Context;
using MassTransit.RabbitMqTransport;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Notiflow.Messaging.Shared.Bus
{
public static class MassTransitExtensions
{
public static void AddMassTransitBus... |
using System;
namespace LeetCode.Naive.Problems
{
/// <summary>
/// Problem: https://leetcode.com/problems/queries-on-number-of-points-inside-a-circle/
/// Submission: https://leetcode.com/submissions/detail/490782502/
/// </summary>
internal class P1828
{
public class Solution
{
... |
using Hathor.Models.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hathor.Client.Sample.WebApp.Models
{
public class IndexViewModel
{
public bool? IsNodeRunning { get; set; }
public AddressResponse? Address { get; set; }
... |
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
using Nano.Models.Attributes;
namespace Nano.Models
{
/// <summary>
/// Default Entity User.
/// </summary>
public class DefaultEntityUser : DefaultEntity
{
/// <summary>
/// Identity User Id.
... |
using Newtonsoft.Json;
namespace LichessApi.Web.Api.Puzzles.Response{
public class Themes
{
[JsonProperty("advancedPawn")]
public AdvancedPawn AdvancedPawn { get; set; }
[JsonProperty("anastasiaMate")]
public AnastasiaMate AnastasiaMate { get; set; }
}
} |
using System;
using BenchmarkSuite.Framework.Interfaces;
namespace BenchmarkSuite.Logging
{
public class EmptyLogger : ILog
{
#region ILog implementation
public void Trace(object message)
{
}
public void Trace(object message, Exception exception)
{
}
... |
using System.Collections.Generic;
using E_Commerce_Shop.Entity;
namespace E_Commerce_Shop.DataAccess.Abstract
{
public interface ICategoryRepository : IRepository<Category>
{
Category GetByIdWithProducts(int id);
void DeleteProductFromCategory(int productId, int categoryId);
}
} |
using System.Collections.Generic;
namespace FortiGateMigration
{
public abstract class FgCommand
{
public string Name { get; set; }
public FgCommand(string name)
{
Name = name;
}
}
public abstract class FgCommandExt : FgCommand
{
public List<F... |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// PrizePriceStrategy Data Structure.
/// </summary>
public class PrizePriceStrategy : AlipayObject
{
/// <summary>
/// 根据不同的奖品类型填写不同的值,具体用法联系营销技术获取
/// </summary>
[Json... |
namespace x42.Controllers.Results
{
/// <summary>
/// Class representing the ping result of the currently running node.
/// </summary>
public class PingResult
{
/// <summary>
/// Initializes a new instance of the <see cref="PingResult" /> class.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lake.AmazonConnect.Model
{
/// <summary>
/// Response metadata.
/// </summary>
public class ResponseMetadata
{
/// <summary>
/// Gets or sets the ID that uniquely identi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace Duality.Editor.Plugins.ProjectView.Properties
{
/// <summary>
/// Since directly accessing code generated from .resx files will result in a deserialization on
/// each Resource access, this class a... |
using System;
using System.Collections.Generic;
using FOS.Website.Feature.ContentBlocks.Data;
using FOS.Website.Feature.ContentBlocks.Helpers;
using Sitecore.Data.Fields;
using Sitecore.Mvc.Presentation;
using Sitecore.StringExtensions;
using Synthesis;
using Synthesis.FieldTypes.Interfaces;
namespace FOS.Website.Fea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zaggoware.BugTracker.Common.Helpers
{
public static class UrlHelper
{
public static string CreateUrlFromName(string name, bool convertToLower)
{
var url = n... |
namespace StevenVolckaert.InventorPowerTools.Buttons
{
using System;
using System.Drawing;
using System.Windows;
using Inventor;
/// <summary>
/// Base class for Inventor buttons.
/// </summary>
internal abstract class ButtonBase : IDisposable
{
protected readonly ButtonDefi... |
using System.Reflection;
namespace Telerik.Sitefinity.Frontend.TestUtilities
{
/// <summary>
/// Helper for common operations related to Assemblies loading and reflection.
/// </summary>
public static class AssemblyLoaderHelper
{
/// <summary>
/// Gets the Test Utilities Assembly
... |
/*
* Copyright (c) 2018, 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
*
* Unless required by applicable law ... |
@using iTechArt.ManagementDemo.Web
@using iTechArt.ManagementDemo.Web.Models
@using iTechArt.ManagementDemo.Web.Models.Table
@using iTechArt.ManagementDemo.Querying.Models
@using Newtonsoft.Json;
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
namespace Qsi.Cql.Schema
{
public abstract class CqlType
{
internal CqlType()
{
}
public abstract string ToSql();
public override string ToString()
{
return ToSql();
}
}
}
|
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
// Copyright (c) 2020 Upendo Ventures, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and asso... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Client.ServiceReference1;
namespace Client
{
public partial class AddTestForm : Form
{
private Tes... |
using UnityEngine;
namespace Sample.Service {
public sealed class EditorAnalytics : IAnalyticsService {
public void SendEvent(string name) =>
Debug.Log($"EditorAnalytics.SendEvent: '{name}'");
}
} |
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com)
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Shaolinq.Persistence.Linq
{
public class ProjectionBuilderScope
{
public Dictionary<string, int> ColumnIndexes { get; }
public readonly List<Expr... |
using System.Collections.Generic;
using System.Diagnostics;
using Machine.Specifications.Runner.Impl.Listener;
namespace Machine.Specifications.Runner
{
public class TimingRunListener : ISpecificationRunListener
{
readonly Stopwatch _assemblyTimer = new Stopwatch();
readonly Dictionary<AssemblyInfo, long>... |
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;
using Expression;
namespace PreviewApp
{
public partial class Form1 : Form
{
public Form1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetCheatX.Core.Interfaces
{
/// <summary>
/// Search result plugin interface
/// </summary>
public interface ISearchResult
{
/// <summary>
/// Memory addres... |
using System.Collections.Immutable;
namespace Funcky.Test.Monads
{
public sealed partial class OptionTest
{
[Fact]
public void NoneIsLessThanSome()
{
Assert.True(Option<int>.None() < Option.Some(10));
Assert.True(Option<int>.None() <= Option.Some(10));
}
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
namespace BNSharp.BattleNet
{
/// <summary>
/// Contains information about a change in advertisements.
/// </summary>
[Serializable]
[DataContract]
public class AdChangedEventArgs : BaseEvent... |
using LINGYUN.Abp.Serilog.Enrichers.UniqueId;
using Serilog.Configuration;
using System;
namespace Serilog
{
public static class UniqueIdLoggerConfigurationExtensions
{
public static LoggerConfiguration WithUniqueId(
this LoggerEnrichmentConfiguration enrichmentConfiguration)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using SqlBuildManager.Enterprise.Policy;
namespace SqlSync.SqlBuild.Policy
{
public partial class PolicyViolationForm : Form
{
Package lst... |
@{
ViewBag.Title = "UnAuthorize";
}
<h1 class="text-danger">Не сте оторизиран за тази страница!</h1>
|
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Content.Server.Database
{
public sealed class SqliteServerDbContext : ServerDbContext
{
public DbSet<SqliteServerBan> Ban { get; set; } = default!;
public DbSet<SqliteServerUnban> U... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public enum EffectName { Typing, RightShot, Approach, LeftShot, Step1, Step2, Step3, Step4, Step5, Performance }
[System.Serializable]
public class EffectTrigger
{
public EffectName name;
}
[System.Serializabl... |
using Common.Api.Validators;
using FluentValidation;
using ToDo.Api.Models;
namespace ToDo.Api.Validators
{
public class ToDoTaskPostValidator : ValidatorBase<ToDoTaskPost>
{
public ToDoTaskPostValidator()
{
// On a POST description is required
RuleFor(t => t.Description)
.NotEmpty()
.WithMessage(V... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Drw.Combat
{
public class GroundAttack : MonoBehaviour
{
private void OnEnable()
{
Destroy(gameObject, 8f); // TODO - temp
}
}
} |
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;... |
// 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.Collections.Generic;
using System.Reflection;
using System.Text;
// ReSharper disable o... |
// 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 CommandLine;
namespace Localization.Options
{
public class ExtractOptions
{
[Option(
... |
// TODO: LOGGING: remove dead code.
namespace SFA.Apprenticeships.Infrastructure.LogEventIndexer.Domain
{
/*
using System;
public class LogEvent
{
public string Application { get; set; }
public string CurrentCulture { get; set; }
// ReSharper disable once InconsistentNaming
... |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using NewRelic.Agent.Core.Aggregators;
using NewRelic.Agent.Core.Samplers;
using NewRelic.Agent.Core.WireModels;
using NewRelic.Core.Logging;
using System;
using System.Collections.Generic;
namespace NewRelic.Agent.Core.Tran... |
using static BuckarooSdk.Constants.Services;
namespace BuckarooSdk.Services.Ideal.Push
{
/// <summary>
///
/// </summary>
public class IdealPayRemainderPush : ActionPush
{
public override ServiceNames ServiceNames => ServiceNames.Ideal;
/// <summary>
///
/// </summary>
public string ConsumerIban { ... |
namespace Razor.UI.Pages
{
[Authorize(AuthenticationSchemes = OpenIdConnectDefaults.AuthenticationScheme)]
public class UserProfileModel : PageModel
{
private readonly IUserService _userService;
public UserProfileModel(IUserService userService)
{
_userService = userServ... |
using System.IO;
using iDi.Blockchain.Framework.Execution;
using iDi.Blockchain.Framework.Extensions;
using iDi.Plus.Domain.Extensions;
using iDi.Plus.Domain.Pipeline;
using iDi.Plus.Infrastructure.Extensions;
using iDi.Plus.Node.Context;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyI... |
namespace TwitterCards.Core.Interfaces
{
public interface ITweet
{
long Id { get; }
ITwitterUser Author { get; }
string Text { get; }
string MediaUrl { get; }
}
}
|
namespace GameModel
{
public enum StartOptions
{
Blank,
Random
}
}
|
namespace Mono.Cecil.AssemblyResolver
{
public enum TargetPlatform
{
None = 0,
CLR_1,
CLR_2,
CLR_2_3,
CLR_3_5,
CLR_4,
WPF,
Silverlight,
WindowsPhone,
WindowsCE,
WinRT
}
}
|
// -----------------------------------------------------------------------
// <copyright file="SuccessEventArgs.cs" company="John Lynch">
// This file is licensed under the MIT license.
// Copyright (c) 2018 John Lynch
// </copyright>
// -----------------------------------------------------------------------
name... |
using System;
using System.Collections.Generic;
using System.Linq;
using CommandLine;
using NLog;
using Kifa.Api.Files;
using Kifa.IO;
namespace Kifa.Tools {
public abstract partial class KifaFileCommand : KifaCommand {
static readonly Logger logger = LogManager.GetCurrentClassLogger();
[Value(0, ... |
// ReSharper disable once CheckNamespace
using MFiles.VAF.Configuration;
using System;
namespace MFiles.VAF.Extensions
{
/// <summary>
/// Defines that the following property or field controls how a task processor should recur.
/// The property or field that follows should be a <see cref="TimeSpan"/>.
/// </summa... |
using System.Runtime.Serialization;
namespace CakeMail.RestClient.Models
{
/// <summary>
/// Enumeration to indicate how to sort clients.
/// </summary>
public enum ClientsSortBy
{
/// <summary>
/// Sort by company name
/// </summary>
[EnumMember(Value = "company_name")]
CompanyName,
/// <summary>
... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Cheeze.Inventory
{
[Route("api/inventory")]
public class Controller : Microsoft.AspNetCore.Mvc.Controller
{
private static readonly Random Ran... |
using System;
namespace F29API.Data
{
public class Association
{
public Entity Subject { get; set; }
public Entity Object { get; set; }
public Relation Relation { get; set; }
}
}
|
using BchainSimServices;
namespace BSimClient.Entities.Extensions
{
public static class BlockProgressExtensions
{
public static bool IsSameBlockAs(this BlockProgress blockProgress, BlockProgress anotherBlockProgress)
{
return blockProgress?.BlockIndex == anotherBlockProgress?.Block... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreBlogApp.Entity.ResultModel
{
public class MessageResult<T> where T : class
{
public T Result { get; set; }
//errorMessages eklenecek
}
}
|
using System;
using System.Net;
using LianZhao.Patterns.Func;
using Void = LianZhao.Void;
namespace WikiaWP
{
public class WikiAsyncAction : WikiAsyncFunc<Void>
{
public WikiAsyncAction(
IAsyncFunc<ApiClient, Void> func,
Action<UnhandledErrorEventArgs<Exception>> ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
namespace Cake.Jira.Tests
{
[TestFixture]
public class JiraClientTests
{
[SetUp]
public void SetUp()
{
}
[Test]
public void CreateJiraVersion_Should_CreateVersion_When... |
using System;
using System.Linq;
using UnityEngine;
using Unity.VisualScripting;
namespace DNode {
public class DLiteral : Unit, IDCustomInspectorDataProvider {
[DoNotSerialize][PortLabelHidden][ShortEditor] public ValueInput X;
[DoNotSerialize][PortLabelHidden][ShortEditor] public ValueInput Y;
[DoNotSe... |
using System.Collections.Generic;
using UnityObject = UnityEngine.Object;
namespace Unity.VisualScripting
{
[Analyser(typeof(INesterUnit))]
public class NesterUnitAnalyser<TNesterUnit> : UnitAnalyser<TNesterUnit> where TNesterUnit : class, INesterUnit
{
public NesterUnitAnalyser(GraphReference refe... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ZeroZeroOne.Holidays.Interface;
namespace ZeroZeroOne.Holidays
{
public static class HolidayManager
{
public static Boolean IsDateAHoliday(ICountryHolidayProvider countryHolidayProvider, DateTime dat... |
using System;
namespace Lawn
{
public enum GardenType //Prefix: GARDEN
{
Main,
Mushroom,
Wheelbarrow,
Aquarium
}
}
|
using PatternDemos.CompoundPatternDemo.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PatternDemos.CompoundPatternDemo.Adapter
{
/// <summary>
/// 使用适配器模式创建一个会鹅叫的鸭子。
/// </summary>
public class GooseAdapter : IQuack... |
using Akka.Actor;
using Autofac;
using Lykke.Service.EthereumClassicApi.Actors.Factories.Interfaces;
using Lykke.Service.EthereumClassicApi.Actors.Roles.Interfaces;
namespace Lykke.Service.EthereumClassicApi.Actors
{
public sealed class ActorsModule : Module
{
protected override void Load(ContainerBui... |
using System.Threading.Tasks;
using WebApi.Model.QueueRequests;
namespace WebApi.Services.Interop
{
public interface IMaskedEmailCommandService
{
Task QueueCommandAsync(MaskedEmailCommand command);
}
} |
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
namespace Microsoft.Practices.EnterpriseLibrary.Logging
{
public interface ILogWriterStructureUpdater : IDispo... |
namespace EventMaster.Course
{
public class CourseParticipantListViewModel
{
public string Vorname { get; set; }
public string Nachname { get; internal set; }
public string Email { get; internal set; }
public string Telefon { get; internal set; }
public string Anwesenhe... |
using System;
namespace Claw.Documents
{
/// <summary>
/// Container for constants used in the *.pr0 file format.
/// </summary>
internal static class PR0Constants
{
/// <summary>
/// Opening character for nodes.
/// </summary>
internal const char OPEN_NODE_CHARCTER... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System.Threading.Tasks;
using WebVella.Pulsar.Models;
using WebVella.Pulsar.Utils;
using System;
using WebVella.Pulsar.Services;
using Microsoft.AspNetCore.Components.Web;
using Newtonsoft.Json;
namespace WebVell... |
namespace DesignPatterns
{
public interface IPagamento
{
Pagamento RealizarPagamento(Pedido pedido, Pagamento pagamento);
}
} |
namespace System.Runtime.CompilerServices
{
[System.AttributeUsage(
AttributeTargets.Class |
AttributeTargets.Delegate |
AttributeTargets.Interface |
AttributeTargets.Method |
AttributeTargets.Struct,
AllowMultiple = false,
Inherited = false)]
public seal... |
using NpgsqlTypes;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using System.Reflection;
namespace DynamicLinqPadPostgreSqlDriver
{
using NpgsqlInet = ValueTuple<IPAddress, int>;
public static class SqlHelper
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Assets.Scripts.Pipeline
{
class SceneLoadManager
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.... |
//-----------------------------------------------------------------------------
// <copyright file="CommandCreator.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.
// </copyri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class SoundManagerScript : MonoBehaviour {
public enum Sound
{
buttonClick, damage, gamePlay, gameWinner, menu, portal, powerUp, rollDice, death,
};
... |
using Unity.Jobs;
using Unity.Collections;
using Unity.Mathematics;
using Unity.Burst;
[BurstCompile]
public struct SelfComplementWithSkipJob : IJobParallelFor
{
public NativeSlice<byte> data;
public byte threshold;
public int height;
public int widthOverLineSkip;
public void Execute(int i)
... |
using System;
using System.Linq;
class C
{
static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
static (int, int) Read2() { var a = Read(); return (a[0], a[1]); }
static long[] ReadL() => Array.ConvertAll(Console.ReadLine().Split(), long.Parse);
static void Main() => Console.Wri... |
// ===================================================================
// 实体(DawnXZ.Dawnauth.Entity)项目
//====================================================================
//【宋杰军 @Copy Right 2008+】--【联系QQ:6808240】--【请保留此注释】
//====================================================================
// 文件名称:DawnAuthDepart... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.