content stringlengths 23 1.05M |
|---|
using System.Linq.Expressions;
using System.Reflection;
namespace Phnx
{
/// <summary>
/// Extensions for <see cref="ErrorMessage"/>
/// </summary>
internal static class ReflectionErrorMessageExtensions
{
/// <summary>
/// An error to describe that the <see cref="Expression"/> does... |
using System;
using System.IO;
namespace Mono.Debugger.Soft
{
public enum ILExceptionHandlerType
{
Catch = ExceptionClauseFlags.None,
Filter = ExceptionClauseFlags.Filter,
Finally = ExceptionClauseFlags.Finally,
Fault = ExceptionClauseFlags.Fault,
}
public class ILExceptionHandler
{
public int TryOffse... |
namespace Telerik.Data.Core
{
/// <summary>
/// Base class for <see cref="FilterDescription"/>.
/// </summary>
internal abstract class FilterDescription : DescriptionBase
{
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Lake<T> : IEnumerable<T>
{
private List<T> collection;
public Lake(List<T> elements)
{
this.collection = elements;
}
public IEnumerat... |
using System;
using System.IO;
using uNet2.Channel;
using uNet2.Packet;
using uNet2.SocketOperation;
using uRAT.CoreClientPlugin.ExtendedSystemInformation.Packets;
using uRAT.CoreClientPlugin.Tools;
namespace uRAT.CoreClientPlugin.ExtendedSystemInformation.Operations
{
public class ExtendedInformationOperation : ... |
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Json.DataContractJsonSerializer))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Json.IXmlJsonReaderInitializer))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace UnshieldSharp
{
internal static class Extensions
{
/// <summary>
/// Read a null-terminated string from the stream
/// </summary>
/// <param name="stream">Stream to read from</param>
... |
using System;
using System.Collections.Generic;
namespace Meceqs.AspNetCore.Receiving
{
public class DefaultMessagePathConvention : IMessagePathConvention
{
private static readonly List<string> _suffixesToRemove = new List<string>
{
"Command",
"Event",
"Messa... |
using System.Collections.Generic;
namespace Basset.Spotify
{
public class GetSearchParams : QueryMap
{
public string Query { get; set; }
public string Type { get; set; }
public int Limit { get; set; } = 5;
public override IDictionary<string, string> CreateQueryMap()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pancake.ManagedGeometry.Factory
{
public static class PolygonFactory
{
public static Polygon RegularCircumscribed(int side, double circumscribedRadius,
Coord2d basePt = default, double baseAngle... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Deployment.DotNet.Releases.Tests
{
public c... |
namespace BillsToPay.Domain.Interfaces.Services
{
using BillsToPay.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IServiceBase<T> : IDisposable where T : EntityBase
{
Task<T> Add(T entity);
Task<T> Update(Guid id,... |
using Oddin.OddsFeedSdk.API.Entities.Abstractions;
using Oddin.OddsFeedSdk.Common;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
namespace Oddin.OddsFeedSdk.API.Abstractions
{
internal interface ISportDataBuilder
{
Task<IEnumerable<ISport>> BuildSports(IEnu... |
using System;
namespace ALS.Glance.Models.Core.Interfaces
{
/// <summary>
/// Model interface containing metadata about the creation
/// </summary>
public interface IHaveCreatedMeta
{
/// <summary>
/// The <see cref="DateTime"/> when the model was created
/// </summary>
... |
// MainViewModel.cs
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using TwitFaves.Data;
namespace TwitFaves {
public class MainViewModel : ViewModel {
private ITwitterService _twitterService;
public MainViewModel(IT... |
// Prexonite
//
// Copyright (c) 2014, Christian Klauser
// 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 n... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Maticsoft.DBUtility;
namespace DAL.PublicService
{
public class aq_CeleWhere
{
#region 返回号码归属地
/// <summary>
/// 返回商品列表
/// </summary>
///
public stri... |
using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.BlobStoring;
namespace AbpVue.Files.Container
{
[BlobContainerName("profile-pictures")]
public class ProfilePictureContainer
{
}
}
|
using System;
using Windows.UI.Xaml.Data;
namespace Flantter.MilkyWay.Views.Converters
{
public sealed class DoublePlusConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
return value is double ? (double) value + d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Beatrice.Configuration
{
public class DeviceDefinition
{
public static readonly string[] KnownDeviceTypes = new[]
{
"action.devices.types.CAMERA",
"action.devices.... |
namespace ConnectServer
{
public class Config
{
public ushort Port { get; set; }
public ushort UdpPort { get; set; }
}
}
|
using System.Data.Entity;
namespace Tools.database.VersionControl
{
internal class VersionContext : DBContext
{
#region Constructors
/// <summary>
/// Standard-Konstruktor
/// </summary>
/// <param name="nameOrConnectionString">
/// Der Connection-String in dem... |
using System.Collections;
using UnityEngine;
using UnityEngine.EventSystems;
public class ButtonFirstSelected : MonoBehaviour
{
void OnEnable()
{
StartCoroutine(SelectButtonRoutine());
}
IEnumerator SelectButtonRoutine()
{
yield return null;
EventSystem.current.SetSelected... |
// 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.
namespace EdFi.Ods.AdminApp.Management.Azure
{
... |
namespace PredictMyCarAPp
{
public class FeatureCounter
{
public int IDCounter { get; set; }
public int IsEmployedCounter { get; set; }
public int IsUnEmployedCounter { get; set; }
public int IsPensionerCounter { get; set; }
public int IsOtherCounter { get; set; }
... |
//! \file ArcAN21.cs
//! \date Sun Apr 30 21:04:25 2017
//! \brief KaGuYa script engine animation resource.
//
// 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"... |
/************************************************************************************
Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved.
Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at
https://developer.oculus.com/licenses/oculussdk/
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ExecutionsViewer.App.Database.Tables
{
public class MainFeature
{
public int Id { get; set; }
// [Required]
// public Version FirstVe... |
using System;
namespace Elders.Skynet.Core
{
public interface IMessageContext
{
string SenderName { get; }
Guid ConnectionId { get; }
void Respond(IMessage message);
}
} |
using System.Collections.Generic;
using FreeSequencer.Tracks;
using UnityEngine;
namespace FreeSequencer
{
public enum StartMode
{
OnStart,
OnButton
}
public enum UpdateType
{
Normal,
Fixed
}
public class Sequence : MonoBehaviour
{
public int FrameRate;
public int Length;
... |
using TechSolutionsLibs.Models;
using Microsoft.EntityFrameworkCore;
namespace TechSolutionsLibs.Settings.Interface
{
public interface IEmployeeActivityDBContext
{
DbSet<EmployeeActivity> EmployeeActivity { get; set; }
void SaveChanges();
}
}
|
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace T8SuitePro
{
public partial class frmUpdateAvailable : DevExpress.XtraEditors.XtraForm
{
/// <summary>
/// Required designer variable.
/// </summary>
public frmUpdateAvailable()
... |
// 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
namespace DotNetNuke.Services.Localization
{
using System.Collections;
using System.Globalization;
publi... |
using System;
using System.Collections.Generic;
using System.Web;
namespace EmpMan.Web.Models
{
public class AppUserViewModel
{
public string Id { set; get; }
public string FullName { set; get; }
public string BirthDay { set; get; }
public string Email { set; get; }
pu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace CATHODE.Misc
{
/* Handles CATHODE REDS.BIN files */
public class RenderableElementsBIN
{
private string filepath;
... |
@model SharpCms.Core.DataObjects.Element
@{
var headerstyle = Model.Parameters(x => x.Name.Equals("headerstyle")).Value.ToString();
var tagname = "h1";
switch (headerstyle)
{
case "Header1":
tagname = "h1";
break;
case "Header2":
tagname... |
using EmpMan.Data.Infrastructure;
using EmpMan.Data.Repositories;
using EmpMan.Model.Models;
namespace EmpMan.Service
{
public interface IFeedbackService
{
Feedback Create(Feedback feedback);
void Save();
}
public class FeedbackService : IFeedbackService
{
private IFeedbac... |
// Copyright 2015 Xamarin Inc. All rights reserved.
using System;
namespace CoreFoundation {
// note: Make sure names are identical/consistent with NSUrlError.*
// they share the same values but there's more entries in CFNetworkErrors
public enum CFNetworkErrors {
HostNotFound = 1,
HostUnknown = 2,
SocksUn... |
using System;
using System.Collections;
using System.Collections.Generic;
using Ploeh.AutoFixture.Kernel;
using Xunit;
using Xunit.Extensions;
namespace Ploeh.AutoFixtureUnitTest.Kernel
{
public class EnumeratorRelayTest
{
[Fact]
public void SutIsISpecimenBuilder()
{
var su... |
using System.Threading.Tasks;
using Orckestra.Composer.Search.Parameters;
using Orckestra.Composer.Search.ViewModels;
namespace Orckestra.Composer.Search.Services
{
public interface ICategoryBrowsingViewService
{
Task<CategoryBrowsingViewModel> GetCategoryBrowsingViewModelAsync(GetCategoryBrowsingViewM... |
namespace Astrid
{
public interface IDeviceManager
{
GraphicsDevice GraphicsDevice { get; }
InputDevice InputDevice { get; }
AudioDevice AudioDevice { get; }
}
} |
namespace Blog.Services.Data
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Blog.Data.Common.Repositories;
using Blog.Data.Models;
using Blog.Services.Data.Contracts;
using Blog.Services.Mapping;
public class CategoriesService : ICategoriesS... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using BlazorApp.Model;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Comp... |
using System;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Microsoft.Win32;
using PluginCore.Managers;
namespace PluginCore.Hel... |
// Copyright (c) Oleksandr Viktor (UkrGuru). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.ComponentModel.DataAnnotations;
namespace UkrGuru.WebJobs.Data
{
public partial class JobQueue : Job { }
public partial ... |
using System.Collections.Generic;
using UnityEngine;
namespace ChatFight
{
public static class List
{
public static T GetRandom<T>(this List<T> list)
{
Debug.Assert(list.IsNullOrEmpty() == false, "List can't be null or empty");
return list[Random.Range(0, list.Cou... |
using Fugu.Common;
using Fugu.IO.Records;
using System;
using System.Runtime.CompilerServices;
namespace Fugu.IO
{
/// <summary>
/// Writes fundamental structural elements to an <see cref="IWritableTable"/> instance.
/// </summary>
public sealed class TableWriter
{
private readonly IWritab... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace WinFormsFrameworkApp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
// create a plot using the primary X and Y axes
var sp1 = ... |
string longestDigitsPrefix(string inputString) {
string pattern = @"^(\d+)";
string numbers = Regex.Match(inputString, pattern).Value;
return numbers;
}
|
using System;
namespace GeoSpace.Engine
{
public class LandslideInput
{
public float SlopeAngle { get; set; }
public GeneralRiskLevel GeologyPermeability { get; set; }
public SlopeAspect SlopeAspect { get; set; }
public int Elevation { get; set; }
public int D... |
namespace Ristorante.Demo
{
using System.Linq;
using Messages;
public class Kitchen : IHandle<CookOrder>
{
private readonly Chef[] _chefs;
private readonly IHandle<CookOrder> _loadBalancer;
public Kitchen(IPublish publisher, Chef[] chefs)
{
_chefs = chefs;... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text.RegularExpressions;
using Examine;
using Examine.LuceneEngine.SearchCriteria;
using OurUmbraco.Repository.Models;
namespace OurUmbraco.Repository.Services
{
public class DocumentationVersionService
... |
using System.Collections.Generic;
using ShardingCore.Core.Internal.Visitors.GroupBys;
using ShardingCore.Core.Internal.Visitors.Selects;
namespace ShardingCore.Core.Internal.Visitors
{
/*
* @Author: xjm
* @Description:
* @Date: Wednesday, 13 January 2021 13:13:45
* @Email: 326308290@qq.com
*/
internal class ExtraE... |
// LongToken.cs
// Script#/Core/ScriptSharp
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Diagnostics;
using ScriptSharp.Parser;
namespace ScriptSharp.CodeModel {
internal sealed class LongToken : LiteralToken {
private long _val... |
using System;
using System.Collections.Generic;
using System.Linq;
using NSubstitute.Core;
using NSubstitute.Specs.Infrastructure;
using NUnit.Framework;
namespace NSubstitute.Specs
{
public class CallActionsSpecs
{
public class When_finding_matching_actions_for_a_call : ConcernFor<CallActions>
... |
using System;
using JetBrains.Annotations;
namespace Framework.Validation
{
/// <summary>
/// Legacy
/// </summary>
public class ValidationException : ValidationExceptionBase
{
[StringFormatMethod("format")]
public ValidationException(string format, params object[] arg... |
// Copyright (c) 2020 Sergio Aquilini
// This code is licensed under MIT license (see LICENSE file for details)
using System.Threading.Tasks;
using Silverback.Messaging.Broker.Behaviors;
using Silverback.Messaging.Messages;
using Silverback.Messaging.Serialization;
using Silverback.Util;
namespace Silverback.Messagin... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace EasyCommands.Tests.ScriptTests {
[TestClass]
public class SimpleRandomTests {
[TestMethod]
public void RandomNumber() {
using (var test = new ScriptTest(@"print ""Next Ran... |
using System;
using Csla.Serialization;
namespace LearnLanguages.DataAccess.Exceptions
{
[Serializable]
public class GetUserFailedException : Exception
{
public GetUserFailedException(string username)
: base(string.Format(DalResources.ErrorMsgUsernameNotFoundException, username))
{
Username ... |
/*
© Siemens AG, 2020
Author: Michael Dyck (m.dyck@gmx.net)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>.
Unless required by applicable law or agre... |
using Aspose.Cells.Common.Models;
using Aspose.Cells.Common.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Micr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
using Data;
using Data.Implementation;
namespace Business.Implementation
{
public class TipoCuentaService : ITipoCuentaService
{
private ITipoCuentaRepository objTipoCuenta... |
namespace CSharp6AndRefactoring
{
using System;
public class Sample3Version1
{
public event Action<string> onNewMessage;
public void SaySomething(string message)
{
if(onNewMessage != null)
{
onNewMessage(message);
}
}
}... |
using UnityEngine;
using System.Collections;
public abstract class Interactable : Item {
protected GameState gameState;
public bool _interactable = true;
public bool interactable {
get { return _interactable; }
protected set { _interactable = value; }
}
public virtual void Start(... |
using System;
using Rg.Plugins.Popup.Extensions;
using Xamarin.Forms;
namespace ColorPickerDemo
{
public partial class MainPage : ContentPage
{
readonly ColorPickerPopup _circlePickerPopup;
readonly ColorWheelPopup _wheelPickerPopup;
public MainPage()
{
InitializeC... |
using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Cactus.Fileserver.Core.Model;
namespace Cactus.Fileserver.Core.Config
{
public interface IFileserverConfig<T>
{
string Path { get; }
Func<IFileStorageService> FileStorage { get; }
F... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace Scene.Lobby
{
public class BaseCanvas : MonoBehaviour
{
[SerializeField] private Text version;
[SerializeField] private Text ping;
[SerializeField] private CanvasGroup loading;
[SerializeField] private Image spinner;
[SerializeFi... |
namespace Nexweron.Core.MSK
{
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(MSKControllerBase))]
abstract public class MSKComponentBase : MonoBehaviour
{
protected static bool SetStruct<T>(ref T currentValue, T newValue) where T : struct {
if (!currentValue.Equals(newValue)) ... |
// System Namespaces
// Application Namespaces
// Library Namespaces
using EasyConsole;
namespace CLI.Utility.Extensions
{
public static class MenuPageExtensions
{
public static void InputOptions(this MenuPage menuPage, EasyConsole.Menu menu)
{
var page = (Page)menuPage;
... |
using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Jobs;
public class Manager : Patterns.Singleton<Manager>
{
#region Manager stuff
public int MAX_BOIDS... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using XELibrary;
namespace GameStateDemo
{
public sealed class StartMenuState : BaseGameState, IStartMenuState
{
private Textur... |
using UnityEngine;
using UnityEditor;
public class FPSTrackerInit
{
[MenuItem("Tools/Fps Tracker/Initialization")]
static void Init()
{
GameObject handler = new GameObject();
handler.AddComponent(typeof(FPSTracker));
}
}
|
#region using
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
#endregion
namespace ProcessControlStandards.OPC.TestTool
{
public class WorkerThread : IDisposable
{
public class Task
{
public object Argument { get... |
using System.Runtime.CompilerServices;
using ApprovalTests;
using NUnit.Framework;
using Shouldly;
using TestStack.BDDfy.Reporters;
namespace TestStack.BDDfy.Tests.Scanner.FluentScanner
{
[TestFixture]
public class FluentWithExamples
{
[Test]
public void FluentCanBeUsedWithExamples()
... |
using System;
using WebApi.Hal;
namespace Jobbie.Sample.Scheduler.Contracts.Api
{
public sealed class ApiError : Representation
{
public ApiError(Exception exception, bool includeFullDetails)
{
Error = exception.GetType().Name;
Message = exception.Message;
i... |
using FreeCourse.Web.Models.Orders;
using FreeCourse.Web.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FreeCourse.Web.Controllers
{
public class OrderController : Controller
{
private read... |
// <copyright file="BaseReferenceFactory.cs" company="Cui Ziqiang">
// Copyright (c) 2017 Cui Ziqiang
// </copyright>
namespace CrossCutterN.Weaver.Reference
{
using System;
using CrossCutterN.Base.Metadata;
using CrossCutterN.Base.Switch;
using CrossCutterN.Weaver.Reference.Base.Metadata;
using C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CooQGenerate
{
class TemplateConfigException : Exception
{
public TemplateConfigException(String msg)
:base(msg)
{
}
public TemplateConfigException(String msg, Exception e)
:base(msg, e)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using crm_webapi.Models;
using AutoMapper;
using crm_webapi.Controllers.Users;
using crm_webapi.Repositories;
using crm_webapi.Exceptions;
using crm_webapi.Responses;
namespace crm_webapi.Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapping;
namespace RunAutoMapper
{
public class Program
{
static void Main(string[] args)
{
var weatherData = new WeatherData
{
... |
using System;
using System.Globalization;
using Jaeger.Util;
namespace Jaeger
{
/// <summary>
/// Represents a unique 64bit identifier of a span.
/// </summary>
public readonly struct SpanId
{
private long Id { get; }
public static SpanId NewUniqueId()
{
return ... |
using System;
using System.Threading.Tasks;
using MassTransit;
using RtuItLab.Infrastructure.MassTransit.Purchases.Requests;
using RtuItLab.Infrastructure.MassTransit.Shops.Requests;
using Shops.Domain.Services;
namespace Shops.API.Consumers
{
public class BuyProducts : ShopsBaseConsumer, IConsumer<BuyProductsReq... |
using Hl7.Fhir.Model;
using Pyro.Common.FhirOperation;
using Pyro.Common.Search;
using Pyro.Common.Tools.UriSupport;
namespace Pyro.Common.Service.SearchParameters
{
public class SearchParametersServiceRequest : ISearchParametersServiceRequest
{
public ISearchParameterGeneric SearchParameterGeneric { get; set... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace Rhea.Model.Apartment
{
/// <summary>
/// 业务记录类
/// </summary>
[CollectionName("apartmentTransact... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Dapper.Easies
{
public class JoinMetedata
{
public JoinMetedata(DbObject dbObject, JoinType type, Expression joinExpression, IDbQuery query)
{
DbObject = dbObject;
... |
namespace DragonSpark.Testing.Objects.Composition
{
public interface IParameterService
{
object Parameter { get; }
}
} |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Simple.API.Entity
{
public class Context : DbContext
{
public Context(DbContextOptions<Context> options):base(options)
{
}
publ... |
#if NET6_0
public class DocsTests
{
[Fact]
public void Foo()
{
var solutionDirectory = AttributeReader.GetSolutionDirectory();
var docsDirectory = Path.Combine(solutionDirectory, "../docs");
docsDirectory = Path.GetFullPath(docsDirectory);
var includeFile = Path.Combine(docs... |
using System;
using System.Collections.Generic;
using ValueTuples.Reflection;
namespace ValueTuples.Sample
{
public partial class Pair<T1, T2>
{
public override string ToString() => $"({Item1}, {Item2})";
}
public partial class Pair<T1, T2>
{
public T1 Item1 { get; set; }
... |
using FunctionParser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace VariableNodeParser_utest
{
//[TestClass]
public partial class VariableNodeParser_utest
{
[TestMethod]
[TestCategory("VariableNodeParser")]
[TestCategory("RemovePointer")]
public void RemovePointer_... |
using Revo.Core.Configuration;
namespace Revo.EasyNetQ.Configuration
{
public class EasyNetQConfigurationSection : IRevoConfigurationSection
{
public bool IsActive { get; set; }
public EasyNetQConnectionConfiguration Connection { get; set; } = new EasyNetQConnectionConfiguration("host=localhos... |
namespace FileToVoxCommon.Generator.Shaders.Data
{
public class ShaderFixLonely : ShaderStep
{
public override ShaderType ShaderType { get; set; } = ShaderType.FIX_LONELY;
public override void ValidateSettings()
{
}
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.Animations;
using UnityEngine.Playables;
public abstract class ActionManagerBase : EntityBehavior<LifeBody>
{
public const string AnimTagEnd = "End";
public const string AnimTagBegin = "Begin";
public const string AnimTagGap = "Gap";
... |
//using System;
//using System.Collections.Generic;
//using System.Text;
//using System.Xml.Serialization;
//namespace Analysis.EDM
//{
// /// <summary>
// /// This class holds a number of ChannelSets, one for each manual state. Instances of this
// /// class are usually assembled by accumulation. I... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Lime;
using Tangerine.Core;
using Tangerine.UI.Docking;
namespace Tangerine.UI.FilesystemView
{
// TODO: refactor tree manipulation code all over the file
// whole pane with all filesystem views
public class FilesystemPane
{
... |
using Xamarin.Forms;
namespace GeoContacts.Cells
{
public partial class ContactsGroupHeaderView : ContentView
{
public ContactsGroupHeaderView()
{
InitializeComponent ();
}
}
public class ContactsGroupHeader : ViewCell
{
public ContactsGroupHeader()
{
View = new Co... |
using hardforward.Controller;
using hardforward.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace hardforward.View
{
public partial class Log... |
using Microsoft.Extensions.Logging;
using OpenQA.Selenium;
using SnBatchProcessor.Processor.Scripting;
namespace SnBatchProcessor.Selenium.Scripting
{
public class SeleniumScriptingContext : ScriptingContext, ISeleniumScriptingContext
{
public SeleniumScriptingContext(string profileName, ILogger logge... |
namespace FinancialIndependencePlanner.IncomeStreams
{
public interface IncomeStream
{
}
}
|
using System;
struct S
{
public static implicit operator short? (S s)
{
return 0;
}
public static implicit operator short (S s)
{
throw new ApplicationException ();
}
}
class Program
{
public static int Main ()
{
S? s = null;
S? s2 = new S ();
long? i = s;
if (i != null)
return 1;
double? ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.