content stringlengths 23 1.05M |
|---|
using System;
namespace Shinden.Models.Initializers
{
public class InitNewEpisode
{
public ulong AnimeId { get; set; }
public ulong? CoverId { get; set; }
public ulong EpisodeId { get; set; }
public DateTime AddDate { get; set; }
public string AnimeTitle { get; set; }
... |
using SmsTools.Commands;
using SmsTools.Operations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmsTools
{
public partial class Authentication
{
private IATCommand _pinQuery = null;
public Authentication()
... |
using System.Xml.Linq;
namespace RCNet.Neural.Data.Filter
{
/// <summary>
/// Common interface of the feature filter configurations.
/// </summary>
public interface IFeatureFilterSettings
{
/// <inheritdoc cref="FeatureFilterBase.FeatureType"/>
FeatureFilterBase.FeatureType Type { ... |
using System;
using System.Diagnostics;
using System.IO;
using Septerra.Core;
namespace Septerra.Core.Hooks
{
public sealed class InteractionService : IService
{
public readonly String ExecutablePath = Asserts.FileExists(Path.GetFullPath("septerra.exe"));
public readonly String DataDirectoryPa... |
// https://github.com/ashmind/SharpLab/issues/487
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
public class C
{
public int M(Vector256<int> vector) {
var add1 = Sse2.Add(vector.GetLower(), vector.GetUpper());
return add1.ToScalar();
}
}
/* asm
; Core CLR... |
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Aspose.HTML.Cloud.Sdk.Tests.Base;
namespace Aspose.HTML.Cloud.Sdk.Tests.TemplateMerge
{
[TestClass]
public class TemplateMergeTest : BaseTestContext
{
private readonly string ... |
namespace WPFordle.Models.Enums;
public enum LetterState
{
None,
RightLetterRightPlace,
RightLetterWrongPlace,
WrongLetter
} |
namespace Sudoku.Solving.Manual.Searchers;
/// <summary>
/// Defines a step searcher that searches for guardian steps.
/// </summary>
public interface IGuardianStepSearcher : ISingleDigitPatternStepSearcher
{
/// <summary>
/// Converts all cells to the links that is used in drawing ULs or Reverse BUGs.
/// </summa... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace TonSdk
{
public class TonClientException : Exception
{
public int? Code { get; private set; }
public TonClientException()
{
}
public TonClientException(string ... |
using System;
using System.Globalization;
using System.Text;
using System.Threading;
class DateInBulgarian
{
static void Main()
{
Console.OutputEncoding = Encoding.UTF8;
string date = Console.ReadLine();
DateTime currentDate = DateTime.ParseExact(date,"d.M.yyyy.h.m.ss",CultureInfo.Inv... |
namespace LandsatRumipal
{
public class IndexModel
{
}
} |
using System.Threading.Tasks;
using Elements.Models.Forum;
namespace Elements.Services.Admin.Interfaces
{
public interface IManageNewsService
{
Task<bool> AddNewsAsync(Topic topic);
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Activities;
using System.Activities.Statements;
namespace Autossential.Activities.Test
{
[TestClass]
public class CultureScopeTests
{
[TestMethod]
[DataRow(1.75, "pt-BR", "R$ 1,75")]
[DataRow(1.75, "en-U... |
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Localization;
namespace ThinkingHome.Core.Plugins
{
public interface IServiceContext
{
IReadOnlyCollection<PluginBase> GetAllPlugins();
IReadOnlyCollection<PluginBase> GetCorePlugins();
... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microting.eForm.Infrastructure.Constants;
using Microting.eForm.Infrastructure.Data.Entities;
using NUnit.Framework;
namespace eFormSDK.Tests
{
[TestFixture]
public cla... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Demo_MVC_CRUD.Data;
using Demo_MVC_CRUD.Models;
namespace Demo_MVC_CRUD.Controllers
{
public class BooksController : Controller
{
private Library... |
using System;
using JetBrains.Annotations;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Project.Scripts
{
public class GameUI : MonoBehaviour
{
[Header("HUD")]
public TextMeshProUGUI scoreText;
public TextMeshProUGUI ammoText;
public UnityEngine.... |
/*******************************************************
*
* 作者:胡庆访
* 创建时间:20130306 17:28
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20130306 17:28
*
*******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;... |
using Resource.Api.Models;
using System.Collections.Generic;
using System.Linq;
namespace Resource.Api
{
public interface IActivityRepository
{
public List<ActivityDTO> GetAllGroupActivities(int groupId);
}
public class ActivityRepository : IActivityRepository
{
Kinder2021Contex... |
using UnityEngine;
public class ControllerAlignment : MonoBehaviour
{
public AlignmentManager alignmentManager;
private SteamVR_TrackedController controller;
void Start()
{
controller = GetComponent<SteamVR_TrackedController>();
if (!controller)
{
Deb... |
[FlagsAttribute] // RVA: 0xBC340 Offset: 0xBC441 VA: 0xBC340
internal enum CloseExState // TypeDefIndex: 1913
{
// Fields
public int value__; // 0x0
public const CloseExState Normal = 0;
public const CloseExState Abort = 1;
public const CloseExState Silent = 2;
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileStorage
{
interface IFileStorage
{
void AddFile(FileEnvelope file);
FileEnvelope GetFileById(Guid fileId);
List<FileEnvelo... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentResults;
using FluentValidation;
using MediatR;
namespace Zonorai.Tenants.Application.Common.Behaviours;
public class ResultValidationBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TRes... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System;
using System.Linq.Expressions;
using Essence.Ioc.LifeCycleManagement;
namespace Essence.Ioc.Expressions
{
internal interface IFactoryExpression
{
Expression GetBody(Expression lifeScope);
Func<ILifeScope, TService> Compile<TService>();
}
} |
using Ninject.Modules;
using PoolManager.Core.Mediators.Resolvers;
namespace PoolManager.Core.Mediators
{
public class MediatorModule : NinjectModule
{
private readonly DependencyResolver resolver;
public MediatorModule(DependencyResolver resolver = null)
{
this.resolver =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace reflectionDemoGUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
public static void Main()
{... |
using Amazon.Lambda.TestTool.Runtime;
using CheeseSharp.Lambda.TestTool.Runner.Models;
using System;
using System.Threading.Tasks;
namespace CheeseSharp.Lambda.TestTool.Runner.Processors
{
public interface IProcessTime
{
DateTime GetCurrentUtcTime();
TimeSpan GetCurrentLoopTimer();
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using lmDatasets;
namespace atriumBE
{
public class AdvisoryManager : atLogic.BEManager
{
FileManager myFM;
public FileManager FM
{
get { return myFM; }
set { myFM = value; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VDS.RDF;
using VDS.RDF.Configuration;
using VDS.RDF.Storage;
using VDS.RDF.Storage.Management;
using VDS.RDF.Storage.Management.Provisioning;
namespace BrightstarDB.Tests.DataObjectsTests
{
public class MockStorageServerFa... |
// Copyright (c) Jeroen van Pienbroek. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using UnityEngine;
namespace AdvancedInputFieldPlugin
{
/// <summary>Class to format text when InputField get deselected</summary>
[Seriali... |
using System;
namespace DotaSharp
{
public class Tower : Building
{
#region Constructors
internal Tower(IntPtr entityPointer) : base(entityPointer)
{
}
public Tower()
{
}
#endregion
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using GitHub.DistributedTask.Expressions2;
using GitHub.DistributedTask.ObjectTemplating.Schema;
using GitHub.DistributedTask.ObjectTemplating.Tokens;
namespace GitHub.DistributedTask.ObjectTemplati... |
using System;
using GUC;
using GUC.Network;
using GUC.Scripting;
using GUC.Types;
using GUC.WorldObjects.WorldGlobals;
namespace RP_Server_Scripts.WorldSystem
{
public class ScriptWeatherCtrl : WeatherController.IScriptWeatherController
{
public ScriptWeatherCtrl(WorldInst world)
{
... |
using Bloemert.Data.Core;
using Bloemert.Data.Entity.Work.Entity;
namespace Bloemert.Data.Entity.Work.Repository
{
public interface IEmployeeRepository : IRepository<Employee>
{
}
}
|
namespace SqlServerAnalyzerCore.Interfaces
{
public interface ISqlDatabase
{
}
}
|
//-----------------------------------------------------------------------
// <copyright file="RecordlistConversionTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// </copyright>
//-----------------------------------------------------------------------
namespace InteropApiTe... |
using System;
using System.Text;
using NLog;
using NLog.Targets;
namespace BrackeysBot.Logging;
/// <summary>
/// Represents an NLog target which supports colorful output to stdout.
/// </summary>
internal sealed class ColorfulConsoleTarget : TargetWithLayout
{
/// <summary>
/// Initializes a new ins... |
// 何翔华
// Taf.Core.Net.Utility
// IHasAuditedTime.cs
namespace Taf.Core.Net.Auditing;
/// <summary>
///This interface can be implemented to store created time and modified time.
/// </summary>
public interface IHasAuditedTime:IHasCreationTime,IHasModificationTime{
}
|
namespace Gu.Wpf.Reactive.UiTests
{
using System.Collections.Generic;
using System.Linq;
using System.Windows.Automation;
using Gu.Wpf.UiAutomation;
public class ChangesGroupBox : GroupBox
{
public ChangesGroupBox(AutomationElement automationElement)
: base(automationElement... |
using PdE_01_BrazilianCitiesAPI.Models;
using System.Collections.Generic;
namespace PdE_01_BrazilianCitiesAPI.Repository
{
public interface ICityRepository
{
void Add(City city);
IEnumerable<City> GetAll();
City Find(long id);
void Remove(long id);
void Update(City ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using DevGuild.AspNetCore.Services.Storage;
namespace DevGuild.AspNetCore.Testing.Storage
{
public class InMemoryStorageContainer : StorageContainer
{
private readonly String baseUrl;
private readonl... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ExtensionMethod
{
public static class TestExtension
{
public static void OldEnough(this Employee e1,int age)
{
if(age>20)
Console.WriteLine("Perfecly aged");
else
... |
// 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.Threading.Tasks;
namespace System.Threading
{
internal sealed class AsyncLock : IDisposable
{... |
namespace Hopex.SDK.Core.Models.Response.Account
{
public class GetUserInfoResponse
{
/// <summary>
/// 计价货币
/// </summary>
public string ConversionCurrency { get; set; }
/// <summary>
/// 当前持仓收益率(浮动盈亏/持仓占用保证金)
/// </summary>
public string Profit... |
using System;
namespace Topics.Radical.Threading
{
[Obsolete( "User the new AsyncWorker." )]
public sealed class AsyncWorker<TArgument, TResult>
{
readonly TArgument argument;
internal AsyncWorker( TArgument argument )
{
this.argument = argument;
}
[Obsolete( "User the new AsyncWorker." )]
public A... |
using System;
using System.Diagnostics.Contracts;
using System.Threading.Tasks;
using Rikrop.Core.Framework.Services;
namespace Rikrop.Core.Wcf
{
public class ServiceExecutor<TService> : IServiceExecutor<TService>
{
private readonly IChannelWrapperFactory<TService> _channelWrapperFactory;
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using GitRewrite.GitObjects;
namespace GitRewrite
{
public static class Hash
{
private static readonly uint[] Lookup32 = CreateLookup32();
public stati... |
using System.Threading;
namespace LoginSvr
{
public class AppServer
{
private LogQueue _logQueue => LogQueue.Instance;
private MasSocService _massocService => MasSocService.Instance;
public AppServer()
{
}
public void Start()
{
... |
using Culqi.Entities.Base;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Culqi.Entities
{
public class Issuer : CulqiEntity<Issuer>
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("country")]
public ... |
using System;
using System.Text;
using System.IO;
using Touryo.Infrastructure.Framework.Common;
using Touryo.Infrastructure.Framework.Util;
using Touryo.Infrastructure.Public.Diagnostics;
namespace TestCode
{
/// <summary>Program</summary>
public class TestGetMessageAndProperty
{
#region public
... |
namespace NugetUtility
{
public enum LogLevel
{
None = 0,
Verbose = 100,
Information = 200,
Warning = 300,
Error = 400,
Always = 500
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnrealEngine.Runtime;
using UnrealEngine.Runtime.Native;
using UnrealEngine.Engine;
namespace UnrealEngine.GameplayTasks
{
public static class IGameplayTaskOwnerInterfaceExtensions
{
/// <summary>
/// F... |
using System.Windows;
using System.Windows.Media;
namespace SimulationV1.WPF.Models
{
/// <summary>
/// Contains helpful attached properties for VertexControl class
/// </summary>
public static class VCTemplateBehaviour
{
public static readonly DependencyProperty BackgroundColorProperty = ... |
using System;
using System.Threading.Tasks;
using AutoFixture;
using Bank.Domain.Infrastructure;
using Bank.Domain.Entities;
using Bank.Domain.Enumerations;
using Bank.Domain.Events;
using Bank.Domain.ValueObjects;
using FluentAssertions;
using Moq;
using Xunit;
namespace BankAccountTests.Domain.UnitTests.Entities
{
... |
using Amazon.CDK;
using Amazon.CDK.AWS.APIGateway;
using Amazon.CDK.AWS.Lambda;
using Amazon.CDK.AWS.S3;
using System.Collections.Generic;
namespace MyWidgetService
{
public class MyWidgetServiceStack : Stack
{
public MyWidgetServiceStack(Construct parent, string id, IStackProps props) : base(parent, i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LottoDataManager.Includes.Database.Engine
{
public enum DatabaseType
{
MS_ACCESS,
MS_SQL,
MS_MYSQL
}
}
|
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;
namespace ChordCadenza.Forms {
public partial class dlgSaveMidiFileAs : Form, ITT, IFormStream {
private ToolTip _TT;
public... |
using UnityEngine;
using System.Collections;
public class RegionSpliter{
public static Rect[] SplitRegionH(Rect region, int count,float pad)
{
float rw = region.width;
float rh = region.height;
float w;
float h;
float pads = pad*(count + 1);
w = (rw - pads) / coun... |
using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XidNet;
namespace XidNet.Benchmarks
{
public class NewXidBenchmarks
{
[Benchmark]
public Xid CreateXidBenchmark() => Xid.NewXid();
[Benchmark]
public G... |
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using RimWorld;
using Verse;
namespace IgnoreIdleGuests
{
[HarmonyPatch(typeof(Alert_ColonistsIdle), "IdleColonists", MethodType.Getter)]
public class Alert_ColonistsIdle_IdleColonists
{
[HarmonyPostfix]
public static v... |
namespace BTDB.StreamLayer
{
public interface IMemorizedPosition
{
void Restore(ref SpanReader reader);
}
public class MemorizedPosition : IMemorizedPosition
{
readonly long _pos;
public MemorizedPosition(long pos)
{
_pos = pos;
}
public... |
using UnityEngine;
namespace CSM.Runtime.Utilities {
/// <summary>
///
/// </summary>
public static class ShadowMapChecking {
/// <summary>
///
/// </summary>
/// <param name="rt"></param>
/// <param name="width"></param>
/// <param name="height"></param>
/// <returns></returns>
... |
namespace Pizzaslice.Domain.Models
{
public class Size
{
public int SizeId { get; set; }
public string SizeName { get; set; }
public double SizePrice { get; set; }
}
} |
using System;
using System.Collections.Generic;
namespace GoLive.Blazor.Controls
{
public class DictionaryBindingWrapper
{
public DictionaryBindingWrapper(Dictionary<string, string> container, string fieldId)
{
FieldId = fieldId;
Container = container;
... |
@model Tag
<a asp-controller="Tag"
asp-action="Details"
asp-route-id="@Model.Id"
asp-route-name="@Model.Name"
class="tag"><span class="label label-primary">@Model.Name</span></a>
|
namespace Ribbon.Test.Just4Fun
{
/// <summary>
/// 远程方法调用器
/// </summary>
public interface IRemoteProcedureCaller
{
/// <summary>
/// 在某个服务器上调用远程过程
/// </summary>
/// <param name="server">服务器</param>
/// <param name="procedure">远程过程</param>
/// <param... |
using System.Collections.Generic;
using Dfe.Edis.SourceAdapter.Sld.Domain.SubmitLearnerData;
namespace Dfe.Edis.SourceAdapter.Sld.AcceptanceTests.TestHarness
{
public class TestContext
{
public int Ukprn { get; set; }
public List<Learner> Learners { get; set; } = new List<Learner>();
... |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using PoESkillTree.Engine.Computation.Builders.Conditions;
using PoESkillTree.Engine.Computation.Builders.Stats;
using PoESkillTree.Engine.Computation.Common;
using PoESkillTree.Engine.Computation.Common.Parsing;
using PoESkillTree.Engine.GameModel.Ite... |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Diagnosti... |
namespace Ianitor.Osp.Backend.Persistence.SystemEntities
{
/// <summary>
/// Available types of identity providers.
/// </summary>
public enum IdentityProviderTypes
{
/// <summary>
/// Azure Active Directory.
/// </summary>
AzureActiveDirectory,
/// <summary>... |
using SQLite;
using System;
namespace Samples.Models
{
public class MediaSyncEvent
{
[PrimaryKey]
[AutoIncrement]
public int Id { get; set; }
public string FilePath { get; set; }
public string Type { get; set; }
//public DateTime DateAssetCreated { get; set; }... |
using TMPro;
using UnityEngine;
namespace Flex.Scripts.FlexUI.PlayableTimeline.Assets.UnityUIPlayables.Runtime.TextMeshProUGUIAnimation
{
public class TextMeshProUGUIColorMixer
{
private Color _blendedValue;
private float _totalWeight;
public void SetupFrame()
{
_b... |
namespace Supido.Core.Container
{
/// <summary>
/// Enumeration for the inversion instances expiration.
/// </summary>
public enum IoCExpiration
{
/// <summary>
/// The instance never expires.
/// </summary>
Never,
/// <summary>
/// The instance expi... |
using UnityEngine;
using System.Collections;
public class ParticleSystemAutoDestroy : MonoBehaviour {
private ParticleSystem ps;
public float delay = 3.0f;
public void Start()
{
ps = GetComponent<ParticleSystem>();
Invoke("DeleteSelf", delay);
}
void DeleteSelf()
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace DFBSimulatorWrapper.GraphViz
{
public static class HtmlTableExtensions
{
/// <summary>
/// Comverts the HtmlTable ... |
using System;
namespace SAEA.Audio.Base.NAudio.Wave.SampleProviders
{
public class Pcm16BitToSampleProvider : SampleProviderConverterBase
{
public Pcm16BitToSampleProvider(IWaveProvider source) : base(source)
{
}
public override int Read(float[] buffer, int offset, int count)
{
int num = count * 2;
... |
using System;
using System.Collections.Generic;
using System.Threading;
using Wdh.RubberChicken.BL.Interfaces;
using Wdh.RubberChicken.Logging;
using Wdh.RubberChicken.Logging.Interfaces;
namespace Wdh.RubberChicken.BL
{
internal class ActionQueue : IActionQueue
{
public ActionQueue(ILogging logging)
... |
namespace digits;
public class K5EuclideanClassifier : Classifier
{
public K5EuclideanClassifier(Record[] training_data)
: base("Euclidean Classifier", training_data)
{
}
private List<(int, Record)> GetTopFive(List<(int, Record)> input)
{
return input.OrderBy(x => x.Item1).Take(5)... |
namespace Squalr.Source.Prefilters
{
using Squalr.Engine.DataTypes;
using Squalr.Engine.Scanning.Snapshots;
using System;
using System.Collections.Generic;
using System.Threading;
/// <summary>
/// Filters the initial search space of a snapshot by filtering out unwanted sections.
/// <... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ZoeMeow.DUTAPI
{
public enum Gender
{
Unknown = -1,
Male,
Female,
}
/// <summary>
/// Account status while logging in.
/// </summary>
public enum LoginStatus
{
Unknown = -1,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
using Tournaments.Models_project;
using Tournaments.Presenters;
using Tournaments.Views;
using WebFormsMvp;
using WebFormsMvp.Web;
namespace Tournam... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Reinforced.Tecture.Channels;
using Reinforced.Tecture.Commands;
using Reinforced.Tecture.Testing;
using Reinforced.Tecture.Testing.Validation;
using Reinforced.Tecture.Tracing.Commands;
namespace Re... |
using Microsoft.Extensions.DependencyInjection;
namespace HeavensFeel.Core.Authorizations;
public static class Authorization
{
public static void AddAuth(this IServiceCollection services)
{
services.AddAuthorization(options =>
{
options.AddPolicy("Users",
policy =... |
// Licensed under the MIT License.
// Copyright (c) 2018,2019 the AppCore .NET project.
using System.Threading;
using System.Threading.Tasks;
using AppCore.Diagnostics;
using AppCore.EventModel.Metadata;
using AppCore.EventModel.Pipeline;
using Microsoft.Extensions.Logging;
namespace AppCore.EventModel.Store
{
//... |
using System;
using System.Net.Http;
using VertSoft.Peppol.Lookup.Api;
//Mode looklike a system to keep configurations for differerent Modes like TEST,DEVELOP,PROD
//using Mode = no.difi.vefa.peppol.mode.Mode;
namespace VertSoft.Peppol.Lookup.Fetcher
{
public class ApacheFetcherTest
{
//private Metadata... |
using StoreBackend.DTOs;
using StoreBackend.Models;
namespace StoreBackend.Auth.Extensions
{
public static class UserExtenions
{
public static UserDTO ToDTO(this User user) =>
new UserDTO { Id = user.Id, Username = user.Username, Email = user.Email };
}
} |
// CS0133: The expression being assigned to `b' must be constant
// Line: 8
class X
{
static void Main ()
{
const int b = true ? 1 : b;
}
}
|
using InfoSupport.Tessler.Drivers;
using InfoSupport.Tessler.UnitTest.Mock;
using InfoSupport.Tessler.Unity;
using Microsoft.Practices.Unity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace InfoSupport.Tessler.UnitTest.Core
{
[TestClass]
public class ResolveEventsTests
{
[... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace Huatek.Torch.Domain.Abstractions
{
public abstract class Entity : IEntity
{
public abstract object[] GetKeys();
public override string ToString()
{
return $... |
using Laser.Orchard.TemplateManagement.Services;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.ContentManagement.MetaData.Builders;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.ContentManagement.ViewModels;
using System;
using System.Collections.Generic;
usi... |
namespace HaiFeng
{
/// <summary>
/// 买卖方向
/// </summary>
public enum Direction
{
/// <summary>
/// 买
/// </summary>
Buy,
/// <summary>
/// 卖
/// </summary>
Sell
}
/// <summary>
/// 开平
/// </summary>
public enum Offset
{
/// <summary>
///
/// </summary>
Open,
/// <summary>
///... |
using EmberKernel.Services.Statistic.DataSource.Variables;
using EmberKernel.Services.Statistic.DataSource.Variables.Value;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace EmberKernel.Services.Statistic.DataSource
{
public class EmberDataSource : ... |
namespace MassTransit.Registration
{
using System;
public interface IFutureRegistration
{
Type FutureType { get; }
void Configure(IReceiveEndpointConfigurator configurator, IConfigurationServiceProvider repositoryFactory);
IFutureDefinition GetDefinition(IConfigurationServiceProv... |
using System;
using TMDbLib.Utilities;
namespace TMDbLib.Objects.Collections
{
[Flags]
public enum CollectionMethods
{
[EnumValue("Undefined")]
Undefined = 0,
[EnumValue("images")]
Images = 1
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace RealEstates.ViewModels
{
public class SearchPropertiesViewModel : PagingViewModel
{
public ICollection<PropertyViewModel> Properties { get; set; }
public int MinPrice { get; set; }
public int MaxPrice { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
using Tizen;
using Tizen.Telephony;
namespace XamarinForTizen.Tizen
{
public class CallPage : ContentPage
{
private static Call _call = null;
private ChangeNotificationEventArgs.Notification[] notiArr = { Ch... |
namespace Insight.Tinkoff.InvestSdk.Dto.Stream
{
public static class EventType
{
public const string Error = "error";
public const string OrderBook = "orderbook";
public const string Candle = "candle";
public const string InstrumentInfo = "instrument_info";
internal c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.