text stringlengths 1 932k |
|---|
using LanguageSchoolApp.Data.Model;
using LanguageSchoolApp.Data.Repositories;
using LanguageSchoolApp.Data.SaveContext;
using LanguageSchoolApp.Services.Contracts;
using System.Linq;
namespace LanguageSchoolApp.Services
{
public class UserService : IUserService
{
private readonly ISaveContext context... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using ClientDataLayer.Interfaces;
namespace ClientDataLayer
{
public class DataContext
{
// Singleton implementation
private static DataContext _instance;
public static DataContext I... |
using System;
using System.Windows.Forms;
namespace WinHook
{
public delegate void ClipBoardEventHandler(ClipboardChangedEventArgs eventArgs);
public class ClipboardChangedEventArgs : EventArgs
{
public IDataObject ClipboardData { get; set; }
public string ClipboardDataFormat { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Payments.Bitcoin;
using BTCPayServer.Services.Invoices;
using Newtonsoft.Json;
namespace BTCPayServer.Services.Invoices.Export
{
public class InvoiceExport
{
public string Process(Invoic... |
using System;
using System.IO;
using System.Xml.Serialization;
using System.Xml;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
namespace PasswordManagerLib
{
public class PasswordManagerCore
{
//Static
private static readonly string SaveDir = Path.Combine(E... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step... |
using LinqAF.Impl;
using System;
namespace LinqAF
{
partial struct DefaultIfEmptySpecificEnumerable<TItem, TInnerEnumerable, TInnerEnumerator>
{
public bool Any()
{
if (IsDefaultValue()) throw CommonImplementation.Uninitialized("source");
return true;
}
... |
using Nop.Core.Domain.Forums;
using Nop.Web.Models.Boards;
namespace Nop.Web.Factories
{
/// <summary>
/// Represents the interface of the forum model factory
/// </summary>
public partial interface IForumModelFactory
{
/// <summary>
/// Prepare the forum topic row model
//... |
namespace Sitecore.Feature.Demo.Services
{
using System;
using System.Web;
using Sitecore.Configuration;
using Sitecore.Foundation.DependencyInjection;
[Service(typeof(IDemoStateService))]
public class DemoStateService : IDemoStateService
{
public DemoStateService(HttpContextBase h... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
namespace CryptoCurrency.Core.Currency
{
public class IOStoken : ICurrency
{
public CurrencyCodeEnum Code => CurrencyCodeEnum.IOST;
public string Label => "IOStoken";
public string Symbol => "IOST";
}
} |
using System;
using SFML.System;
using SFML.Graphics;
namespace BlackCoat.ParticleSystem
{
/// <summary>
/// Abstract base class of all texture based particles.
/// </summary>
/// <seealso cref="BlackCoat.ParticleSystem.ParticleBase" />
public abstract class TextureParticleBase : ParticleBase
... |
using MCDSaveEdit.Save.Models.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
#nullable enable
namespace MCDSaveEdit
{
/// <summary>
/// Interaction logic for Selectio... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 Jeesu Choi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, i... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("En... |
//
// KeywordTests.cs
//
// Author:
// Mike Krüger <mkrueger@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc.
//
// 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 restri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseLook : MonoBehaviour
{
public float mouseSensitivity = 100f;
public Transform playerBody;
float xRotation = 0f;
void Start()
{
Cursor.lockState = CursorLockMode.Locked;
Cursor.visibl... |
using Microsoft.EntityFrameworkCore;
namespace DotnetRepositoryPattern {
public class ProjectDbContext : DbContext {
public ProjectDbContext(DbContextOptions<ProjectDbContext> options)
: base(options) { }
public DbSet<SampleModel> SampleModels { get; set... |
#pragma warning disable 0169 // variable declared but not used.
using UnityEngine;
using System.Collections;
using System.Linq;
using com.spacepuppy.Utils;
using System.Runtime.InteropServices.ComTypes;
using System.Collections.Generic;
namespace com.spacepuppy
{
/// <summary>
/// Acts just like Coroutine,... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
namespace System.LinqCore
{
public static partial class Enumerable
{
public static IEnumerable<TSource> Except<TSource>(this IEnume... |
using Ardalis.ApiEndpoints;
using BlazingTrails.Api.Persistence;
using BlazingTrails.Api.Persistence.Entities;
using BlazingTrails.Shared.Features.ManageTrails.AddTrail;
using Microsoft.AspNetCore.Mvc;
namespace BlazingTrails.Api.Features.ManageTrails;
public class AddTrailEndpoint : BaseAsyncEndpoint.WithRequest<Ad... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GammaLibrary.Extensions;
using PixivSharp.Exceptions;
using PixivSharp.Objects;
namespace PixivSharp
{
public static class PixivClientExtensions
{
public static Task<UserDetail> Ge... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DotVVM.Framework.Compilation.Javascript.Ast
{
public class JsBlockStatement : JsStatement
{
public static JsTreeRole<JsStatement> BodyRole = new JsTreeRole<JsStatement>("Body");
public JsNodeCollection<JsStatement> Bo... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// 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.Linq;
using System.Text;
using System.Threading.Tasks;
using UnofficialAniListApiSharp.Api;
using UnofficialAniListApiSharp.Api.Data;
namespace UnofficialAniListApiSharp.Client
{
public class AnilistClient
{
Authentication _auth;
Dat... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Commands;
using Microsoft.CodeAnalysis.Editor.Host;
using ... |
namespace CodeForDotNet.Drawing
{
/// <summary>
/// String alignment disconnected from any API dependencies, useful for future proof serialization and cross-platform.
/// </summary>
/// <remarks>Explicitly cast to "System.Drawing.StringAlignment" via integer.</remarks>
public enum StringHorizontalAlignment
{
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Microsoft.WindowsAzure.Management.CloudSe... |
// Working Files List
// Visual Studio extension tool window that shows a selectable list of files
// that are open in the editor
// Copyright © 2016 Anthony Fung
// 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 ... |
using System;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Microsoft.EntityFrameworkCore.InMemory.Storage
{
internal class InMemoryHierarchyIdTypeMapping : CoreTypeMapping
{
public InMemoryHierarchyIdTypeMapping(Type clrType)
... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using AzureDevOpsScheduler.Core.Schedule;
namespace AzureDevOpsScheduler.Tests.Schedule
{
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[TestClass]
public class ScheduleControllerTests
{
[TestMethod]
public vo... |
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace web.Pages;
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
[IgnoreAntiforgeryToken]
public class ErrorModel : PageModel
{
public string? RequestId { get; set; }
... |
using UnityEngine;
namespace SS3D.Engine.Interactions
{
public class InteractionEvent
{
/// <summary>
/// The source which caused the interaction
/// </summary>
public IInteractionSource Source { get; }
/// <summary>
/// The target of the interaction, can be nul... |
using VideoApi.Contract.Responses;
using VideoApi.Domain;
using VideoApi.Extensions;
namespace VideoApi.Mappings
{
public static class ConferenceForIndividualResponseMapper
{
public static ConferenceForIndividualResponse MapConferenceSummaryToModel(Conference conference)
{
return ne... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.Direct3D11
{
[Flags]
[NativeName("Name", "D3D11_CRYPTO_SESSION_STATUS")]
... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using Unity.Mathematics;
using Unity.Collections;
using System.Collections.Generic;
using MLAPI.Serialization;
using Blast.ECS;
using Blast.ECS.DefaultComponents;
using UnityEngine;
public struct ItemUserComponent {
public int lastHeldItem;
public bool lastHeldItemUsed;
}
public struct ItemStateData {
pub... |
using Cauldron.Activator;
using System.Linq;
using System.Reflection;
#if WINDOWS_UWP
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace Cauldron.Test
{
[TestClass]
public class FactoryTest
{
[TestMethod]
... |
using IndustryTower.Helpers;
using Resource;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace IndustryTower.Models
{
public class GroupSesssionResult
{
[Key]
... |
using UnityEngine;
namespace NatesJauntyTools
{
public static partial class Tools
{
/// <summary> Changes a single material for a renderer's list of materials. </summary>
public static void ChangeMaterial(this Renderer renderer, int index, Material newMaterial)
{
Material[] materials = renderer.materials;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.Json;
using System.Threading.Tasks;
using AntDesign.Core.HashCodes;
using AntDesign.JsInterop;
using AntDesign.TableModels;
using Microsoft.AspNetCore.Components;
namespace AntDesign
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Fortune_Teller_UI.Services;
namespace Fortune_Teller_UI.Controllers
{
[Route("/")]
public class HomeController : Controller
{
FortuneServiceCommand _fortuneService... |
using Celeste;
using Microsoft.Xna.Framework;
using Monocle;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Celeste.Mod.PandorasBox
{
[Tracked(true)]
class LaserDetectorActor : Actor
{
private int detectionDelay = 0;
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PozitronDev.QuerySpecification.EF
{
public abstract class RepositoryBase<T> : IRepositoryBase<T> where T : class
{
private readonly DbConte... |
using System;
using System.Globalization;
namespace UPDB.Gathering
{
public class UpdatePackageMetadataFromUpdateMumFile
{
public string Description { get; protected set; }
public string DisplayName { get; protected set; }
public string Company { get; protected set; }
public st... |
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Reflection;
using Oxide.Core;
using Oxide.Game.Rust.Libraries;
namespace Oxide.Plugins
{
[Info("Staffmode", "Canopy Sheep", "1.2.3", ResourceId = 2263)]
[Description("Toggle on/off staff mode")]
class Staffmode : RustPlugin
... |
namespace Terminals.Network {
partial class ShareConnectionsForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using Sandbox;
using Sandbox.UI;
using Sandbox.UI.Construct;
public class Scoreboard : Sandbox.UI.Scoreboard<ScoreboardEntry>
{
public Scoreboard()
{
StyleSheet = StyleSheet.FromFile( "/ui/Scoreboard.scss" );
}
protected override void AddHeader()
{
Header = Add.Panel( "header" );
Header.Add.Label( "play... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Extensions.Color4Ex... |
using PawnPlus.Core.Forms;
using System;
using System.Threading;
using System.Windows.Forms;
namespace PawnPlus.Core.Exceptions
{
public enum ExceptionType : byte
{
Handled,
Unhandled
}
public static class ExceptionHandler
{
public static void HandledException(Exception ex... |
using System;
namespace Inflow.Services.Customers.Core.Services;
internal interface IClock
{
DateTime CurrentDate();
} |
namespace Assets.ProceduralLevelGenerator.Scripts.GeneratorPipeline.Platformers
{
using GeneralAlgorithms.Algorithms.Common;
using GeneralAlgorithms.Algorithms.Polygons;
using GeneralAlgorithms.DataStructures.Common;
using GeneralAlgorithms.DataStructures.Polygons;
using MapGeneration.Core.Configurations;
using ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using handlers.Queries;
using handlers.Settings;
using MediatR;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
@using Test1WebApp
@using Test1WebApp.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System;
using System.Collections.Generic;
using System.Text;
namespace DynamicExpressions.Linq
{
public static class Predefined
{
/// <summary>
/// List of known types for use in dynamic linq queries. Add or remove types as needed.
/// i.e. `Predefined.Types.Add(typeof(System.Da... |
namespace DotNetBungieAPI.Models.Destiny;
/// <summary>
/// Describes the type of progression that a vendor has.
/// </summary>
public enum DestinyVendorProgressionType
{
/// <summary>
/// The original rank progression from token redemption.
/// </summary>
Default = 0,
/// <summary>
/... |
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
using System;
using UnityEngine;
namespace AmplifyShaderEditor
{
[Serializable]
public class FallbackVector2 : IFallbackVars
{
[SerializeField]
private Vector2 m_current;
[SerializeField]
private... |
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System;
using Metrics;
using Sportradar.OddsFeed.SDK.Common.Internal.Metrics;
namespace Sportradar.OddsFeed.SDK.Test.Shared
{
public class TestStatsCollector : IHealthStatusProvider
{
public void RegisterHealth... |
// World Conquer Online Project 2.5517 - Phoenix Project Based
// This project has been created by Felipe Vieira Vendramini
// Source Infrastructure based on Phoenix Source, written by Gareth Jensen
// This source is targeted to Conquer Online, client version 5517
//
// Computer User: Felipe Vieira
// File Created by... |
using UnityEngine;
public class CameraLook : MonoBehaviour
{
private float mouseSensitivity = 5f;
private float rotation = 0;
// Use this for initialization
private void Start()
{
}
// Update is called once per frame
private void Update()
{
var vertical = Input.GetAxis("... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/resources/customer_feed.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.... |
using UnityEngine;
using System.Collections.Generic;
[AddComponentMenu("Vive Teleporter/Parabolic Pointer")]
public class ParabolicPointer : MonoBehaviour {
public ViveNavMesh NavMesh;
[Header("Parabola Trajectory")]
[Tooltip("Initial velocity of the parabola, in local space.")]
public Vector3 Initia... |
//-----------------------------------------------------------------------
// <copyright file="DiffieHellmanTests.cs" company="Jason Alexander, Outercurve Foundation">
// Copyright (c) Jason Alexander, Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------... |
using Application.Interfaces;
using Infrastructure.Identity.Contexts;
using Infrastructure.Identity.Models;
using Infrastructure.Identity.Services;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namesp... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace OrderIndependentTransparentRendering
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class Ap... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Helpers;
using SusuCMS.Data.Enums;
namespace SusuCMS.Web.Admin.Controllers
{
[HandleError, Authorize]
public class HomeController : AdminControllerBase
{
public ActionResult... |
@using Sitecore.Feature.PageContent
@using Sitecore.Foundation.Alerts
@using Sitecore.Foundation.Alerts.Extensions
@using Sitecore.Foundation.SitecoreExtensions.Extensions
@model Sitecore.Mvc.Presentation.RenderingModel
@if (!Model?.Item?.IsDerived(Templates.HasPageContent.ID) ?? true)
{
@Html.PageEditorError(Alert... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class SlideFanSpeed : MonoBehaviour
{
private Slider fanSlider;
void Start()
{
this.fanSlider = this.GetComponent<Slider> ();
if(fanSlider == null)
{
Debug.LogWarning("SliderFanSpeed script applied to object that does not contain a... |
#define AddNoteFromConNotes
using System;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using mshtml;
using NetLoc;
using OneStoryProjectEditor.Properties;
namespace OneStoryProjectEditor
{
[ComVisible(true)]
public abstract class HtmlConNoteControl :... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DoublyLinkedList.Tests
{
using System.Collections;
using System.Collections.Generic;
[TestClass]
public class DoublyLinkedListUnitTests
{
[TestMethod]
public void AddFirst_EmptyList_ShouldAddElement()
... |
using System.Collections.Generic;
using Assets.Scripts.Common.Utils;
using Assets.Scripts.Tea;
using UnityEngine;
using YxFramwork.Common;
using YxFramwork.Common.Model;
using YxFramwork.Controller;
using YxFramwork.Enums;
using YxFramwork.Framework.Core;
using YxFramwork.Manager;
using YxFramwork.Tool;
using YxFramwo... |
namespace ReactNative.Chakra
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// An API usage exception occurred.
/// </summary>
public sealed class JavaScriptUsageException : JavaScriptException
{
/// <summary>
/// Initializes a new instance of th... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace IQToolkit.Data.Common
{
public interface IHaveMappingEntity
{
MappingEntity Entity { ge... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
using EnvDTE;
using Microsoft.VisualStudio.Compo... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SL... |
namespace GridLikeViewWithDynamicColumns.ViewModel
{
public class SupplierViewModelFake : SupplierViewModel
{
}
} |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Backup")]
[assembly: AssemblyDescri... |
namespace SecondMonitor.Rating.Common.Championship.Calendar.Templates
{
using Tracks;
public class AdacGTMasterCalendars
{
public static CalendarTemplateGroup AllCalendars => new CalendarTemplateGroup("ADAC GT Masters", new CalendarTemplate[]{AdacGTMasters2013, AdacGTMasters2014, AdacGTMasters2015... |
using ARMeilleure.Decoders;
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.Translation;
using static ARMeilleure.Instructions.InstEmitHelper;
namespace ARMeilleure.Instructions
{
partial class InstEmit32
{
public static void Aesd_V(ArmEmitterContext context)
{
OpC... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace PixelComrades {
public class ScriptingSystem : SystemBase {
public static IActionEventHandler ParseMessage(string[] splitWords) {
var param0 = splitWords.Length < 2 ? "... |
// <copyright file="ElementNotFulfillingWaitConditionEventArgs.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet Ltd.
// 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 Licens... |
// This is kind of a ripoff of 'process_synchronizingobject.cs' for use as a znippet
// for the remarks section.
using System;
using System.Diagnostics;
using System.Windows.Forms;
namespace SynchronizingObjectTest
{
public class SyncForm : Form
{
private System.ComponentModel.Container components = n... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using Associados.Core;
using Associados.Data;
namespace Associados.Web.Controllers
{
public class QuotasController : ... |
using System;
using System.IO;
using Microsoft.Extensions.CommandLineUtils;
namespace Nethereum.Generator.Console
{
public class GenerateServiceCommand : CommandLineApplication
{
private readonly CommandOption _abiFile;
private readonly CommandOption _binFile;
private readonly CommandO... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using Microsoft.Win32;
using Outlook = Microsoft.Office.Interop.Outlook;
using GOCale... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ED_PilotHelper.Helpers.EDDB
{
public class SystemsParams
{
public enum ParamName
{
eddbid,
name,
allegiancename,
governm... |
using System;
using Castle.MicroKernel.Registration;
using NSubstitute;
using Abp.AutoMapper;
using Abp.Dependency;
using Abp.Modules;
using Abp.Configuration.Startup;
using Abp.Net.Mail;
using Abp.TestBase;
using Abp.Zero.Configuration;
using Abp.Zero.EntityFrameworkCore;
using InnovationSoft.Olh.EntityFrameworkCore;
... |
using Application.Interfaces.Repositories;
using Domain.Entities;
using AutoMapper;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Models;
namespace Application.Features.Communities.Commands
{
public partial class CreateCommunityCommand : IRequest<Result<int>>
{
publ... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyUnitOfWork.Uow
{
/// <summary>
/// EF Core 事务策略
/// </summary>
public interface IEfCoreTransactionStrategy : IDisposable
{
/// <summary>
/// 初始化工作单元选项
/// </... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Windows.Data;
namespace FFXIVRelicTracker.Helpers.Converters
{
class StageToProgressConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureIn... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using System;
using System.Text;
namespace AbrRestaurant.MenuApi
{
public class Program
{
public static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System; // require keep for Windows Universal App
using UnityEngine;
namespace UniRx.Triggers
{
public abstract class ObservableTriggerBase : MonoBehaviour
{
bool calledAwake = false;
Subject<Unit> awake;
/// <summary>Awake is called when the script instance is being loaded.</su... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.