content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
using JetBrains.Annotations;
using MAVN.Service.AdminAPI.Models.ActionRules;
namespace MAVN.Service.AdminAPI.Models.EarnRules
{
/// <summary>
/// Represents a earn rule creating details.
/// </summary>
[PublicAPI]
public class EarnRuleCreateModel : EarnRuleBaseMod... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Order;
namespace Xamarin.Forms.Benchmarks
{
[MemoryDiagnoser]
[Orderer (SummaryOrderPolicy.FastestToSlowest)]
public class Layouts : BaseBenchmark
{
const int ViewCount = 100;
const int ViewSize = 10;
static readonly Thickness Empty = new Thickness (0);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.Experimental.UIElements;
using UnityEditor.Experimental.UIElements.GraphView;
using UnityEngine.Experimental.UIElements;
using GraphProcessor;
[NodeCustomEditor(typeof(CircleRadians))]
public ... |
using ArchitectNow.DevUp16.WebDevPrecompiler.Data.Models;
namespace ArchitectNow.DevUp16.WebDevPrecompiler.Data.Repositories
{
public interface IToDoRepository : IBaseRepository<ToDo>
{
}
}
|
using Microsoft.AspNetCore.Mvc.Formatters;
using System.IO;
using System.Threading.Tasks;
namespace grava.Controllers
{
/// <summary>
/// Helper to enable passing text/plain for PUT method
/// </summary>
public class TextPlainInputFormatter : InputFormatter
{
private const string ContentTy... |
//
// Copyright (C) 2018 Fluendo S.A.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program i... |
// Copyright (c) MudBlazor 2021
// MudBlazor licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Threading.Tasks;
using Blazored.LocalStorage;
namespace MudBlazor.Docs.Services.UserPreferences
{
public interface IUserPrefer... |
//---------------------------------------------------------------------------
//
// <copyright file="IRecyclingItemContainerGenerator.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved.
// </copyright>
//
// Description: IRecyclingItemContainerGenerator interface
//
// Spec: http:/... |
using Microsoft.EntityFrameworkCore;
using PapoDeDev.TDD.Domain.Core.Interfaces.Repository;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace PapoDeDev.TDD.Infra.Repository
{
public class UnitOfWork : IUnitOfWork
{
private readonly RepositoryContext _Context;
... |
using MySqlConnector;
using System.Data;
namespace Dapper.Easies.MySql
{
public class MySqlDbConnectionFactory : IDbConnectionFactory
{
private readonly string _connectionString;
public MySqlDbConnectionFactory(string connectionString)
{
_connectionString = connectionStrin... |
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
namespace Fullscreenizer
{
/**
* Config format:
* | bool | default to false | If the hotkey is activated upon load.
* | int | default to 0 | Bit flag for the modifier of the hotkey modifier(s).
* | int |... |
#region Copyright
/*Copyright (C) 2015 Konstantin Udilovich
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 applicab... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using SIL.Machine.Tokenization;
using SIL.Machine.Utils;
using SIL.Scripture;
namespace SIL.Machine.Corpora
{
public abstract class UsfmTextBase : ScriptureText
{
private static readonly HashSet<string> NonVerseParaStyles = new HashSet<string>
... |
/*
* Copyright (C) 2016-2020. Autumn Beauchesne. All rights reserved.
* Author: Autumn Beauchesne
* Date: 3 Apr 2017
*
* File: Stats.cs
* Purpose: Definition of relevant stats structures.
*/
using UnityEngine;
namespace BeauRoutine.Internal
{
/// <summary>
/// State of a Routine.
/// </summ... |
using Newtonsoft.Json;
using RaiBlocks.Converters;
using RaiBlocks.Interfaces;
using RaiBlocks.ValueObjects;
using System;
namespace RaiBlocks.Results
{
public class AccountInformationResult : IActionResultWithError
{
[JsonProperty("frontier")]
public string Frontier { get; set; }
[Js... |
/*
* 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 System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshCreate : MonoBehaviour
{
public Vector3[] Vertices;
public int[] Triangles;
Mesh mesh;
private void Start()
{
mesh = new Mesh();
GetComponent<MeshFilter>().mesh = mesh;
}
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using AngleSharp.Dom;
using Novinichka.Services.Helpers;
namespace Novinichka.Services.NewsSources.Sources
{
public class CpdpBg : BaseSource
{
private const string Url = "index.php";
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ChatCore.Interfaces
{
public interface IChatResourceData
{
public string Uri { get; }
public bool IsAnimated { get; }
public string Type { get; }
}
}
|
using static TACTLib.Core.Product.Tank.ManifestCryptoHandler;
using static TACTLib.Core.Product.Tank.ContentManifestFile;
namespace TACTLib.Core.Product.Tank.CMF {
[ManifestCryptoAttribute(AutoDetectVersion = true, Product = TACTProduct.Overwatch)]
public class ProCMF_54255 : ICMFEncryptionProc
{
... |
// Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using BenchmarkDotNet.Attributes;
using NodaTime.Calendars;
namespace NodaTime.Benchmarks.NodaTimeTests
{
public class UtcZonedDateTimeBenchmarks
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace brovador.GBEmulator {
public class GPU {
public const int SCREEN_PIXELS_WIDTH = 160;
public const int SCREEN_PIXELS_HEIGHT = 144;
const int HORIZONAL_BLANK_CYCLES = 204;
const int VERTICAL_BLANK_CYCLES = 456;
con... |
namespace Tabular
{
public partial class TabularMainForm : DevExpress.XtraEditors.XtraForm
{
public TabularMainForm()
{
InitializeComponent();
var x = new TableForm
{
MdiParent = this
};
x.Show();
}... |
/* Mixins */
/* bg shortcodes */
.bg-gradient1 span,
.bg-gradient1:before {
background: #fa7e29;
background: linear-gradient(180deg, #fa7e29 0%, #F6682F 80%, #F6682F 100%);
}
.bg-gradient2 span,
.bg-gradient2:before {
background: #39C2C9;
background: linear-gradient(180deg, #39C2C9 0%, #3FC8C9 80%, #3FC8C9 100... |
namespace Litium.Accelerator.Constants
{
internal static class MegaMenuPageFieldNameConstants
{
public const string MegaMenuCategory = "MegaMenuCategory";
public const string MegaMenuPage = "MegaMenuPage";
public const string MegaMenuShowContent = "MegaMenuShowContent";
public c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MinotaurEnabler : MonoBehaviour
{
[SerializeField] public GameObject Minotaur;
// Start is called before the first frame update
void Start()
{
}
private void OnCollisionEnter2D(Collision2D colli... |
using System.Threading.Tasks;
namespace ExamQuestions.Tests.Events
{
public interface IMailManager
{
Task SimulateMail(NewEmailEventArgs args);
}
} |
using Domain.Events.Readers;
using Domain.ValueObjects;
using Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain
{
public class BookReader : AggregateRoot<BookReaderGuid>
{
public Guid BookReaderId { get; set; }
public Name200 Name { get; set; }
... |
namespace Bridge
{
public abstract class StrategyClassA : DegreeOfFreedom
{
}
} |
using iHRS.Domain.Models;
namespace iHRS.Infrastructure.EntityConfigurations
{
internal class MessageTypeConfiguration : BaseEnumerationConfiguration<MessageType>
{
public override string TableName => "MessageTypes";
public override string PrimaryKeyColumnName => "MessageTypeId";
}
} |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace InHouse.Application.Common.Exceptions
{
[ExcludeFromCodeCoverage]
public class InHouseNotFoundException : Exception
{
/// <summary>
/// Initializes a new instance of the <se... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace Service.DwhExternalBalances.DataBase.DesignTime
{
public class ContextFactory: IDesignTimeDbContextFactory<DwhContext>
{
public ContextFactory()
{
}
public DwhContext CreateDbContext(stri... |
using LINGYUN.Abp.IM.Contract;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;
namespace LINGYUN.Abp.MessageService.Chat
{
public interface IUserChatFriendRepository : IBasicRepository<UserChatFriend, long>
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GPS : MonoBehaviour{
public static GPS Instance {set; get;}
public float latitude;
public float longitude;
public float heading;
private float timeUpdate;
public float myx;
public float myy;
public float myz;
public ... |
using Symbolica.Abstraction;
namespace Symbolica.Representation.Functions;
internal sealed class FunnelShiftLeft : IFunction
{
public FunnelShiftLeft(FunctionId id, IParameters parameters)
{
Id = id;
Parameters = parameters;
}
public FunctionId Id { get; }
public IParameters Para... |
namespace Tzkt.Sync.Protocols.Proto12
{
class StateCommit : Proto1.StateCommit
{
public StateCommit(ProtocolHandler protocol) : base(protocol) { }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Prefabs : MonoBehaviour
{
public GameObject[] FieldPrefabs;
public GameObject[] ForestPrefabs;
public GameObject[] FarmPrefabs;
public GameObject[] HillPrefabs;
public GameObject[] TownPrefabs;
public G... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Wanderer.GameFramework
{
public class LoadDataTableEventArgs :GameEventArgs<LoadDataTableEventArgs>
{
private bool _success;
public bool Success{
get
{
... |
namespace Glimpse.Core.Tab.Assist
{
public interface ITabObjectItem
{
ITabStyleValue Value(object value);
}
} |
namespace Treasure.Build.CentralBuildOutput.Tests;
using Microsoft.Build.Utilities.ProjectCreation;
internal static class ProjectCreatorTemplatesExtensions
{
public static ProjectCreator DirectoryBuildProps(
this ProjectCreatorTemplates _,
string testRootPath,
string assemblyPath,
... |
using GezginTurizm.Business.Abstract;
using GezginTurizm.DataAccess.Abstract;
using GezginTurizm.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GezginTurizm.Business.Concrete
{
public class WorkerWithVehicleManager : IWorkerWithVehicleService
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CCPP.Cryptocurrency.Common.Utils
{
public static class Extensions
{
/// <summary>
/// 根据GUID获取16位的唯一字符串
/// </summary>
/// <param name=\"guid\"></param>
/// <returns></returns>
pub... |
using SharpNeat.EvolutionAlgorithm;
using Xunit;
namespace SharpNeat.Neat.ComplexityRegulation.Tests;
public class RelativeComplexityRegulationStrategyTests
{
#region Test Methods
[Fact]
public void TestInitialisation()
{
var strategy = new RelativeComplexityRegulationStrategy(10, 10.0);
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TheBookStore.DataTransferObjects;
using TheBookStore.Models;
namespace TheBookStore.Infrastructure
{
public static class Extensions
{
public static string AsString(this IEnumerable<Book... |
using System.IO;
namespace XFiler;
public sealed class FileViewModel : FileEntityViewModel
{
public FileInfo FileInfo => (FileInfo)Info;
public long Size => FileInfo.Length;
public FileViewModel(IIconLoader iconLoader,
IClipboardService clipboardService,
IFileTypeResolver fileTypeResol... |
namespace _01SchoolClasses.Interfaces
{
interface ICommentable
{
void AddTextBlock(string text);
string DisplayTextBlock();
}
}
|
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {
/// <summary> Stores various properties about the blocks in Minecraft Classic. </summary>
public partial class BlockInfo {
public SoundType[] DigSounds = new SoundType[B... |
//<snippet1>
using System;
public class Application
{
public static void Main()
{
// Create some DateTime objects.
DateTime one = DateTime.UtcNow;
DateTime two = DateTime.Now;
DateTime three = one;
// Compare the DateTime objects and display the results.
bool... |
namespace TeamTaskboard.Web.ViewModels.Team
{
using AutoMapper;
using TeamTaskboard.Models;
using TeamTaskboard.Web.Infrastructure.Mappings;
public class TeamMemberViewModel : IMapFrom<TaskboardUser>, ICustomMappings
{
public string UserName { get; set; }
public string E... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace AdventOfCode2020
{
public class Day07
{
public class Bag : IEquatable<Bag>
{
readonly string color;
Dictionary<Bag... |
using MultiWatcher.Interfaces;
using OeBrowser.Interfaces;
using OeBrowser.Utils;
using System.Collections;
using System.Collections.Generic;
namespace MultiWatcher.Utils
{
public class LoggerManager : ILogger, ILogWriter, IEnumerable<ILogger>
{
private List<ILogger> loggers = new List<ILogger>();
... |
using System.Threading.Tasks;
namespace Common
{
public interface IInterface1
{
string Name { get; }
Task<int> GetAsync();
}
}
|
using Detached.Mappers.EntityFramework;
using Detached.Mappers.Model;
using Detached.Mappers.Samples.RestApi.Models;
using Detached.Mappers.Samples.RestApi.Services;
using Detached.Mappers.Samples.RestApi.Stores;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore... |
using System.Collections.Generic;
using System.Linq;
using I3dShapes.Model;
namespace I3dShapes.Tools.Extensions
{
/// <summary>
/// Extensions by <see cref="ShapeFile"/>.
/// </summary>
public static class ShapeFileExtensions
{
/// <summary>
/// Read all <see cref="Shape"/>.
... |
using System;
using System.IO;
using System.Diagnostics;
using System.Threading;
using NetcoreDbgTest;
using NetcoreDbgTest.MI;
using NetcoreDbgTest.Script;
using Xunit;
namespace NetcoreDbgTest.Script
{
class Context
{
static bool IsStoppedEvent(MIOutOfBandRecord record)
{
if (re... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.CommandLine.Rendering.Views;
using FluentAssertions;
using Xunit;
namespace System.CommandLine.Rendering.Tests.Views
{
public ... |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace kmd.Core.Extensions.Converters
{
public class BooleanToGridLengthConverter : IValueConverter
{
public GridLength FalseSize { get; set; } = new GridLength(0);
public GridLength TrueSize { get; set; } = new GridLength(1, ... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace CK.CodeGen
{
/// <summary>
/// A named scope is a generic named piece of source code that can be enclosed
/// in another <see cref="Parent"/> named scope.
/// It generalizes <see cref="ITypeScope"/> th... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using NetHacksPack.Data.Linq.EF;
using System.Linq;
namespace Microsoft.Extensions.DependencyInjection
{
public static class EntityFrameworkExtensions
{
public static IServiceCollection AddQueryableAsRepository<TDbCon... |
public class RedoButton : TaskbarButton {
public void Redo() {
ActionStack.instance.RedoAction();
}
protected override bool ShouldShowButton() {
return ActionStack.instance.redoStackSize > 0;
}
}
|
using System;
using Xunit;
namespace csharp_learning
{
// https://www.diffchecker.com/IA1sqZ60
class MyClassA : IDisposable
{
public bool IsDisMethodCalled { get; private set; }
public MyClassA()
{
IsDisMethodCalled = false;
}
public void Dispose()
... |
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace KSoft.Test
{
[TestClass]
public class EnumFlagsTest : BaseTestClass
{
enum FlagsEnumSansAttribute
{
Flag0 = 1<<0,
Flag1 = 1<<1,
Flag2 = 1<<2,
Flag3 = 1<<3,
};
[TestMethod]
[S... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ZDevTools.ServiceCore
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class ServiceOrderAttribute : Attribute
{
// This is a positional argument
public ServiceO... |
using Microsoft.AspNetCore.Mvc;
namespace app
{
public partial class ToDoController
{
[HttpPut]
[Route("{index}")]
public IActionResult UpdateItem(int index, [FromBody] string newItem)
{
if (index >= 0 && index < items.Count)
{
items[inde... |
//
// RepeatItem.cs
//
// Author:
// Roman Lacko (backup.rlacko@gmail.com)
//
// Copyright (c) 2010 - 2014 Roman Lacko
//
// 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 restric... |
using McMaster.Extensions.CommandLineUtils;
namespace Appy.Tool.OnePassword.Cli
{
public class CommandLineApplicationFactory : ICommandLineApplicationFactory
{
public CommandLineApplication Create(string name, string fullName)
{
return new CommandLineApplication { Name = nam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Clean.Architecture.Wpf.ViewModels;
internal class DelegateCmd : ICommand
{
#pragma warning disable CS0067
public event EventHandler? CanExecuteChanged;
#pragma w... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace VisualRust.Cargo
{
[StructLayout(LayoutKind.Sequential)]
struct RawDependencyError
{
public Utf8String Path;
public Utf8String... |
using System;
namespace SafeRapidPdf.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public sealed class ParameterTypeAttribute : Attribute
{
public ParameterTypeAttribute(
bool required,
bool inheritable = false,
string version = "",
... |
using System.Collections.Generic;
namespace Kevsoft.Battleship.Game
{
public interface IReadOnlyBattleshipGame
{
ISet<(char x, int y)> Cells { get; }
ISet<(char x, int y)> Hits { get; }
ISet<(char x, int y)> Misses { get; }
bool IsComplete { get; }
}
} |
namespace Domain.Entities.Speech
{
using System;
using System.Collections.Generic;
using System.Linq;
using ResultText;
using Speaker;
public class Speech : IEntity
{
private const long MinDataSize = 1024;
[Obsolete("Only for reflection", true)]
public Speech() { }... |
using Godot;
namespace GodotUtilities
{
public static class PackedSceneExtension
{
public static T InstanceOrNull<T>(this PackedScene scene) where T : class
{
var node = scene.Instance();
if (node is T t)
{
return t;
}
... |
using Atlas.Extensions;
using NUnit.Framework;
using System;
namespace Atlas.Core.Test
{
[Category("Core")]
public class TestCore : TestBase
{
[OneTimeSetUp]
public void BaseSetup()
{
Initialize("Core");
}
[Test, Description("DecimalToString")]
[Ignore("todo: fix")]
public void DecimalToString()
... |
using Rabbit.WeiXin.MP.Messages.Response;
using System;
using System.Xml.Linq;
namespace Rabbit.WeiXin.MP.Serialization.Providers.Response
{
internal sealed class NewsMessageFormatter : XmlMessageFormatterBase<ResponseMessageNews>
{
#region Overrides of XmlMessageFormatterBase<ResponseMessageNews>
... |
using MDG.ScriptableObjects.Items;
using System;
using UnityEngine;
using UnityEngine.UI;
namespace MDG.Invader.Monobehaviours.UserInterface
{
// Shop behaviour, should I reuse build menu and menu slot??
[RequireComponent(typeof(Button))]
public class MenuSlot : MonoBehaviour
{
public event Ac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DynamicPropertiesNet35 {
public class MyProperties2 {
public MyProperties2() {
_keys = new List<string>();
_valuesObject = new List<object>();
_valuesInt = new List<int>();
_valuesString = new List<string>(... |
namespace Sitecore.Foundation.CommerceServer.Models
{
using Infrastructure.Constants;
using Sitecore.Data.Items;
/// <summary>
/// CommercePromotion class
/// </summary>
public class Catalog : SitecoreItemBase
{
/// <summary>
/// Initializes a new instance of the <see cref=... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
namespace Volo.CmsKit.Public.Ratings;
public interface IRatingPublicAppService : IApplicationService
{
Task<RatingDto> CreateAsync(string entityType, string entityId, CreateUpdateRatingInput input);
Task Del... |
using Api.Controllers;
using Microsoft.AspNetCore.TestHost;
using System.Security.Claims;
using System.Threading.Tasks;
using Xunit;
namespace FunctionalTests
{
[Collection("server")]
public class foo_controller_should
{
private readonly HostFixture _fixture;
public foo_controller_should(... |
namespace MadXchange.Exchange.Domain.Types
{
public enum XchangeHttpOperation
{
Unknown = 0,
GetInstrument = 1,
GetInstrumentList = 2,
GetOrderBookL2 = 3,
GetOrderBook = 4,
GetMargin = 5,
GetMarginList = 6,
GetOrder = 7,
GetOrderList = 8,
... |
using FluentAssertions;
using Toggl.Core.UI.ViewModels.Reports;
using Xunit;
namespace Toggl.Core.Tests.UI.ViewModels.Reports
{
public sealed class ReportElementBaseTests
{
private class MockElement : ReportElementBase
{
public MockElement(bool isLoading) : base(isLoading) { }
... |
using Data.Entities.Identity;
using Data.Interfaces;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
namespace Data.Entities
{
public class Team : IBaseEntity, ICreatedOn
{
public int Id { get; set; }
p... |
namespace SignInWithoutSpecifyingTenant
{
public abstract class SignInWithoutSpecifyingTenantApplicationTestBase : SignInWithoutSpecifyingTenantTestBase<SignInWithoutSpecifyingTenantApplicationTestModule>
{
}
}
|
namespace Lykke.Cqrs.Middleware
{
internal class CommandInterceptionCommonContext
{
public object Command { get; set; }
public object HandlerObject { get; internal set; }
public IEventPublisher EventPublisher { get; set; }
}
}
|
using System;
using EfEagerLoad.Common;
namespace EfEagerLoad.IncludeStrategies
{
public class PredicateIncludeStrategy : IncludeStrategy
{
private readonly Predicate<EagerLoadContext> _strategy;
public PredicateIncludeStrategy(Predicate<EagerLoadContext> strategy)
{
Guard... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Szlem.SharedKernel
{
public struct Nothing : IEquatable<Nothing>, IComparable<Nothing>, IComparable
{
public static readonly Nothing Value = new Nothing();
public int CompareTo(Nothing other) => 0;
public in... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using OMSAPI.DataContext;
using OMSAPI.Interfaces;
using OMSAPI.Models;
namespace OMSAPI.Services
{
class AddressService : IAddress
{
private OMSDbContext _context;
public AddressService(OMSD... |
// PropertyExpression.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Diagnostics;
namespace ScriptSharp.ScriptModel {
internal sealed class PropertyExpression : Expression {
private PropertySymbol _prop... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CodeActions;
namespace RoslynTestKit.CodeActionLocators
{
public class ByIndexCodeActionSelector: ICodeActionSelector
{
private readonly int _index;
public ByIndexCodeActionSelector(int index)
{
_index = index... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
namespace Deo.LaserVg
{
internal interface IPart
{
XElement ToXml();
}
}
|
using Flurl.Http;
using Infrastructure.EntityFramwork;
using Infrastructure.Logging;
using System;
namespace Infrastructure.Services
{
public class AirQualityServiceClient : IAirQualityServiceClient
{
private readonly ILog log;
public AirQualityServiceClient(ILog log)
{
th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SimpleApp.API.Models;
using SimpleApp.API.Repositories;
namespace SimpleApp.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
... |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Collections.Generic;
u... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AoC.Y2019.Days
{
internal enum ShuffleAction
{
Deal,
Cut,
New
}
}
|
using System.Threading;
using System.Threading.Tasks;
namespace VASPSuite.EtherGate
{
public interface IBlockchainOperation
{
BlockchainOperationId Id { get; }
Task<BlockchainOperationState> GetCurrentStateAsync();
Task WaitForExecutionAsync(
CancellationTo... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public static class ActionMaster {
public enum Action { Tidy, Reset, EndTurn, EndGame };
public static Action NextAction ( List<int> rollsOrig ) {
List<int> rolls = new List<int>( rollsOrig );
Action nextAction = Action.EndTurn;
in... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace LinqToTweetsZip
{
public class Geo
{
[JsonProperty("type")]
public string Type { get; private set; }
[JsonProperty("coordinates")]
public IReadOnlyList<double> Coordinates { get; private set; }
}
}
|
// Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace Tests.Characters.SpecialAbilities.BloodlinePowers
{
using Xunit;
using SilverNeedle.Characters.SpecialAbilities.BloodlinePowers;
public class FatedTests
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "ItemState", menuName = "Items/Item State")]
public class ItemStateSO : ScriptableObject
{
/// <summary>
/// Name of this state (if needed)
/// </summary>
[Tooltip("Name of this state (if needed)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.