text stringlengths 1 932k |
|---|
namespace Problem_3.Company_Hierarchy.Company.Employees
{
using Interfaces;
using System.Collections.Generic;
class Manager : Employee, IManager
{
public Manager(string firstName, string lastName, long id, decimal salary, string department, IList<Employee> employeeSet )
: base(fir... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace SignalR.CoreHost
{
/// <summary>
/// A high-resolution FPS timer.
/// </summary>
public class HighFrequencyTimer
{
private double _fp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace XecMeConfig
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewComponents;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Reflection;
namespace NetCoreStack.Hisar
{
public abstract class HisarViewComponent : ViewComponent
{
public IServiceProvider Resolver
{
... |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
namespace EmployeeTracker.ViewModel
{
using System;
using System.Globalization;
using EmployeeTracker.Model;
using ... |
// A platform independent tag-view-style graphical xml editor
// https://github.com/Springwald/BlazorXmlEditor
//
// (C) 2020 Daniel Springwald, Bochum Germany
// Springwald Software - www.springwald.de
// daniel@springwald.de - +49 234 298 788 46
// All rights reserved
// Licensed under MIT License
using System;
... |
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class ClimbingSystemTarget : TargetRules
{
public ClimbingSystemTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V2;
ExtraModuleNames... |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using sly.parser.generator;
namespace sly.parser.syntax.grammar
{
public class Rule<IN> : GrammarNode<IN> where IN : struct
{
public Rule()
{
Clauses = new List<IClause<IN>>();
VisitorMethodsF... |
using Godot.Collections;
public class RepeatTests: WAT.Test
{
[Test]
public void SimpleTest()
{
Assert.IsTrue(true, "Single Test Ran");
}
[Test(4, 4, 8)]
[Test(5, 5, 10)]
public void AdditionTest(int addend, int augend, int sum)
{
Assert.IsEqual(addend + augend, sum, $"{... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OOP2
{
class CustomerManager
{
public void Add(Customer customer )
{
}
}
} |
// Copyright (c) 2022, Olaf Kober <olaf.kober@outlook.com>
#define DEBUG
using System;
using NFluent;
using NUnit.Framework;
namespace Amarok.Contracts;
public partial class Test_Verify
{
public class Animal
{
}
public sealed class Dog : Animal
{
}
[TestFixture]
public class Is... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SMS.Model
{
public class Model_Prdt_WP
{
#region Model
private string _prd_no;
private int? _itm;
private string _wp_no;
private string _dep_no;
private string _name;... |
// ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.... |
using System;
using NUnit.Framework;
namespace Faithlife.Globalization.Tests
{
[TestFixture]
public class SortableTitleTests
{
[Test]
public void ConstructorNull()
{
Assert.Throws<ArgumentNullException>(delegate { new SortableTitle(null); });
Assert.Throws<ArgumentNullException>(delegate { new SortableT... |
using System;
namespace Astrid.Animations
{
public class FloatTransition : Transition<float>
{
public FloatTransition(Func<float> getValue, Action<float> setValue, float targetValue, TransitionParameters transitionParameters)
: base(getValue, setValue, targetValue, transitionParameters)
... |
/*
Author: Mikael Hertz (mikael.hertz@gmail.com)
*/
using System;
using UnityEngine;
public enum EditToolMode { DELETE, SELECT, DESELECT, NONE };
public enum EditToolScaleType { UP = 1, DOWN = -1, NONE = 0 };
public enum EditToolOffsetType { OUT = 1, IN = -1, NONE = 0 };
public class EditToolCtrl : MonoBehaviour... |
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace Abp.VueTemplate.MenuManagement.EntityFrameworkCore
{
public class UnifiedDbContextFactory : IDesignTimeDbContextFactory<UnifiedDbContext>
{
public Unifi... |
using System;
using System.Collections.Generic;
namespace SaaSDatabase.Models
{
public partial class SubscriptionPayment
{
public string Id { get; set; }
public string SubscriptionId { get; set; }
public int PaymentMethod { get; set; }
public double SubscriptionCharge { get; se... |
// *********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
// *********************************************************
namespace Microsoft.ProjectOxford.Face.Contract
{
using System;
using System.Collections.Generic;
/// <summary>
/// The clas... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System.Linq;
namespace XppReasoningWpf
{
using ICSharpCode.AvalonEdit;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
public class QueryEditor : SourceEditor
{
priv... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace KIP_server_Auth
{
/// <su... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DriverHelper
{
class Program
{
private static string DevconPath { get
{
if (File.Exists(Path.Combine(Path.... |
#if ENABLE_IL2CPP
#define INLINE_METHODS
#endif
namespace ME.ECS.Collections {
using System.Collections.Generic;
public struct IntrusiveListGenericNode<T> : IStructComponent {
public Entity next;
public Entity prev;
public T data;
}
public interface IIntrusiveListGeneric<T... |
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Enumeration to define the list template types for SharePoint
/// </summary>
public enum ListTemplateType
{
/// <summary>
/// InvalidType list type
/// </summary>
InvalidType = -1,
/// <summary>
... |
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using Veldrid;
using Veldrid.NeoDemo.Objects;
namespace Veldrid.NeoDemo
{
public class SceneContext
{
public DeviceBuffer ProjectionMatrixBuffer { get; private set; }
public DeviceBuffer ViewMatrixBuffer { get; private... |
using System.Threading;
using System.Threading.Tasks;
using EasyTcp4.Actions;
using EasyTcp4.Actions.Utils;
using NUnit.Framework;
namespace EasyTcp4.Test.Actions.Events
{
public class OnUnknownAction
{
[Test]
public async Task TriggerOnUnknownAction()
{
using var conn = awa... |
using System;
public static class Leap
{
/*
Given a year, report if it is a leap year.
The tricky thing here is that a leap year in the Gregorian calendar occurs:
*/
public static bool IsLeapYear(int year)
{
// on every year that is evenly divisible by 4
// except every year th... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
// ----------------------------------------------------------------------
// <copyright file="IDeclarationResolver.cs" company="SoloX Software">
// Copyright (c) SoloX Software. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
//... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using CrossSectionPlugin.Exceptions;
using CrossSectionPlugin.Helpers;
using CrossSectionPlugin.Interfaces;
using CrossSectionPlugin.Model;
using CrossSectionPlugin.Parsers;
using FluentAsser... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstacleMovement : MonoBehaviour
{
[SerializeField]
Vector3 movementVector = new Vector3(0, 10f, 0);
[SerializeField]
float period = 2f;
float movementFactor;
Vector3 startingPos;
// Start is cal... |
namespace WildFarm.Core
{
public interface IEngine
{
void Run();
}
} |
using System;
namespace ComLib.Extensions
{
/// <summary>
/// Collection of utility extension methods related to the decimal data
/// type.
/// </summary>
public static class DecimalExtensions
{
/// <summary>
/// Method that finds a digit at an arbirary position of a decimal.
... |
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("02... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Conventions;
using MongoDB.Bson.Serialization.Serializers;
using MongoDB.Driver;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MongoDB.Entities
{
//... |
namespace PlacesToEat.Web
{
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
public class EmailService : IIdentityMessageService
{
public Task SendAsync(IdentityMessage message)
{
// Plug in your email service here to send an email.
return Task.Fr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Threading.Tasks;
using Autodesk.Revit.DB; //Revit API
using Revit.Elements; //Dynamo Revit Elements
using Autodesk.DesignScript.Geometry; //Dynamo Geometry
using Revi... |
using System;
using System.Collections.Generic;
using GameWork.Core.States.Tick.Input;
using UnityEngine;
using UnityEngine.UI;
using PlayGen.Unity.Utilities.Settings;
using PlayGen.Unity.Utilities.Localization;
using PlayGen.SUGAR.Unity;
using PlayGen.Unity.Utilities.Extensions;
public class SettingsStateInput : Tic... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Description;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions... |
// *** 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... |
// 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.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.... |
// Copyright (c) Vincent Detroyat. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Renderers;
using Markdig.Renderers.Html;
using System;
using System.Security.Cryptography;
namespace Markdig.Extensions.P... |
using BenchmarkDotNet.Attributes;
using Halforbit.ObjectTools.ObjectStringMap.Implementation;
using System;
using System.Collections.Generic;
namespace Halforbit.ObjectTools.Benchmarks
{
[MemoryDiagnoser]
public class StringMapBenchmarks
{
static readonly IReadOnlyDictionary<string, object> _dateT... |
using MediatR;
namespace ELearning.Application.Subjects.Queries.GetSubjectGroupsListById
{
public class GetSubjectGroupsListByIdQuery : IRequest<SubjectGroupsListViewModel>
{
public int Id { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Diagnostics;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Special;
using Autodesk.Revit.DB;
namespace RhinoInside.Revit.GH.Parameters
{
public class Docume... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
namespace SmartHR.NET.Entities;
/// <summary>雇用形態情報</summary>
/// <param name="Id">雇用形態ID</param>
/// <param name="Name">名称</param>
/// <param name="PresetType">プリセット種別</param>
/// <param name="CreatedAt">作成日</param>
/// <param na... |
using NUnit.Framework;
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
namespace DemiCode.Mvvm.WindowViewTests.Test
{
[TestFixture]
public class WindowViewTests_ViewWithoutCodeBehind
{
// TODO: Hangs the testrunner (both TestDriven and ReSharper)
//[Test, Requ... |
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("Enh... |
using System;
using P02_DatabaseFirst.Data;
namespace P02_DatabaseFirst
{
public class StartUp
{
public static void Main()
{
}
}
} |
/*
(c) 2019 Alan Tan
This code is licensed under MIT license (See LICENSE.txt for details)
SPDX-Short-Identifier: MIT
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace weel_1_Admin_Menu
{
class Program
{
static void Main(s... |
//
// assign.cs: Assignments.
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
// Martin Baulig (martin@ximian.com)
// Marek Safar (marek.safar@gmail.com)
//
// Dual licensed under the terms of the MIT X11 or GNU GPL
//
// Copyright 2001, 2002, 2003 Ximian, Inc.
// Copyright 2004-2008 Novell, Inc
// Copyrigh... |
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Dapper;
using MeetingsApi.Dtos;
using MeetingsApi.Settings;
using MeetingsApi.Sql;
using Microsoft.Extensions.Options;
namespace MeetingsApi.Services
{
public class ParticipantService : IParticipa... |
/*******************************************************************************
* Copyright 2012-2019 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... |
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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
*
* Unle... |
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Security;
using WebMoney.Services.Contracts.Properties;
namespace WebMoney.Services.Contracts.Exceptions
{
[Serializable, ComVisible(true)]
public class ExternalServiceException : BusinessException
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Core : MonoBehaviour
{
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnCollisionEnter2D(Collision2D collision)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace p_frog
{
interface IFrog_Collisions
{
void Frog_screen_Col... |
using System;
using JWDB.DataLayer;
using JWDB.EntityLayer.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.Extensions.Options;
namespace JWDB.DataLayer
{
public partial class JWDbContext : DbContext
{
#region add custom code
public Str... |
using System.Collections.Generic;
namespace WebApi.ViewModels
{
public class PassageGroup
{
public int GroupId { get; }
public string GroupName { get; }
public bool IsAdmin { get; }
public IEnumerable<Passage> Passages { get; }
public PassageGroup(int groupId, strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogUploader.Data.GameAreas;
using LogUploader.Helper;
namespace LogUploader.Data
{
class AddEnemy : Enemy
{
public bool IsInteresting { get; }
private static readonly Dic... |
//Author Maxim Kuzmin//makc//
using Makc2020.Core.Base;
using Makc2020.Core.Caching.Common.Client.Config;
using Makc2020.Mods.DummyMain.Caching.Config;
using System.IO;
namespace Makc2020.Mods.DummyMain.Caching
{
/// <summary>
/// Мод "DummyMain". Кэширование. Конфигурация.
/// </summary>
public seal... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... |
namespace Suls.Services
{
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Data;
public class UsersService : IUsersService
{
private readonly SulsDbContext db;
public UsersService(SulsDbContext db)
{
this.db = db;
}
... |
namespace Investager.Core.Dtos;
public class WatchedAssetResponse
{
public int AssetId { get; set; }
public string Symbol { get; set; }
public string Exchange { get; set; }
public string Key { get; set; }
public string Name { get; set; }
public string Industry { get; set; }
public st... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
public class talkManager: MonoBehaviourPun,IPunObservable
{
public GameObject TalkBubble;
public Text talkText;
[HideInInspector]public InputField talkInputField;
//private boo... |
using OpenpayXamarinSample.ViewModels;
using Xamarin.Forms;
namespace OpenpayXamarinSample.Pages
{
public partial class MainPage : ContentPage
{
private readonly MainPageViewModel _viewModel;
public MainPage()
{
InitializeComponent();
BindingContext = _viewMode... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
namespace YouTubePlaylistsSystem.Services.Data
{
using System;
using System.Linq;
using Contracts;
using YouTubePlaylistsSystem.Data.Models;
using YouTubePlaylistsSystem.Data.Repositories.Contracts;
public class VideosService : IVideosService
{
private readonly IRepository<Video> ... |
using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Mediachase.Ibn.Web.UI.MetaUI;
using Mediachase.Ibn.Data.Meta.Management;
using Mediachase.Ibn.Core;
using Mediachase.Ibn.Lists;
namespace Mediachase.Ibn.Web.UI.MetaUIEntity
{... |
using System;
using System.Collections.Generic;
namespace TudaSuda
{
public class AppUsersResponse : AppResponse
{
public IList<Guid> UserGuids { get; set; }
}
} |
/* Copyright 2015-present MongoDB Inc.
*
* 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 agreed to in wr... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks.Dataflow;
namespace ProjectV.Extensions
{
public static class DataflowBlockExtensions
{
public static void MarkAsCompletedSafe(this IEnumerable<IDataflowBlock> queues)
{
// Do not... |
//------------------------------------------------------------------------------
// <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.Linq;
using Yallocc.Tokenizer;
namespace BasicDemo.Basic
{
public class IfCommand : BasicCommand
{
private string _name;
private ExpressionCommand _expression;
public IfCommand(Token<TokenType> startToken, BasicEngine engine, string name, ExpressionCommand expression) : base(sta... |
using System;
using VMCore.VM.Core;
using VMCore.VM.Core.Register;
using VMCore.VM.Core.Utilities;
namespace VMCore.VM.Instructions.Logic
{
internal class BIT
: Instruction
{
public override Type[] ArgumentTypes =>
new Type[]
{
typeof(int),
... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Identity.Web;
using ... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/vsstyle.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
pu... |
using System;
using System.Collections.Generic;
using UnityEditor.Experimental.GraphView;
using UnityEditor.Experimental.VFX;
using UnityEngine;
using UnityEngine.Profiling;
using Object = UnityEngine.Object;
using UnityEngine.UIElements;
namespace UnityEditor.VFX.UI
{
class VFXRecompileEvent : ControllerEvent
... |
using Sfs2X.Entities.Data;
namespace Assets.Scripts.Game.Mahjong3D.Standard
{
public partial class GameLogic_Hu : AbsGameLogicBase
{
[S2CResponseHandler(NetworkProtocol.MJRequestFenZhang)]
public void OnFenzhang(ISFSObject data)
{
if (data.ContainsKey("cards"))
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReceiptLotteryCheck
{
class LotteryNumberJudgment
{
#region Vriable
Dictionary<string, int> prizeResult;
List<string> userData;
#endregion
#reg... |
// *** 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... |
@model string |
using UnityEngine;
using UnityEditor;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using System.Reflection;
using Model=UnityEngine.AssetBundles.GraphTool.DataModel.Version2;
namespace UnityEngine.AssetBundles.GraphTool {
/// <summary>
/// IAssetGenerator is an interfa... |
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
namespace ReactiveSignalR
{
/// <summary>
/// Provides <see cref="HubConnection"/> extension methods.
/// </summary>
public static class HubConnectionExtensions
... |
// 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.
#nullable disable
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Windows... |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
// *** 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... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
/... |
namespace Paramore.Brighter
{
/// <summary>
/// The name of a Routing Key used to wrap communication with a Broker
/// </summary>
public class RoutingKey
{
/// <summary>
/// Initializes a new instance of the <see cref="RoutingKey"/> class.
/// </summary>
/// <param n... |
using System.Collections.Generic;
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2;
using JetBrains.ReSharper.Psi.Impl.Special;
using JetBrains.ReSharper.Psi.Resolve;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Util;
namespace JetBrains.ReSharper.... |
// ---------------------------------------------------------------------
//
// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/creator-terms
//
// ----------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace NAudio.Utils
{
/// <summary>
/// General purpose native methods for internal NAudio use
/// </summary>
class NativeMethods
{
[DllImport("kernel32.dll")]
public static ... |
using UnityEngine;
public class StateSelectorOneState : StateSelector
{
[SerializeField] State initialState = null;
public override State SelectNode()
{
return initialState;
}
} |
using KatsukiBot.Commands.Twitch.Handler.Attributes;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KatsukiBot.Commands.Twitch.Handler.Entities.Builders {
public class TwitchCommandBuilder {
... |
namespace CatenaX.NetworkServices.Registration.Service.Model
{
public class CompanyRole
{
public int id { get; set; }
public string title { get; set; }
}
} |
@model Taxtation.ViewModel.TXSTaxDetailView
<div style="height:25px;"></div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class... |
using System;
public class Dog : Animal
{
public Dog(string name, int age, string gender) : base(name, age, gender)
{
}
public override void ProduceSound()
{
Console.WriteLine("Woof!");
}
} |
using System;
using System.Diagnostics.CodeAnalysis;
namespace Molder.Exceptions
{
[ExcludeFromCodeCoverage]
[Serializable]
public class DirectoryException : Exception
{
public DirectoryException(string message) : base(message) { }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace YaWhois.Tests.WhoisClient
{
public class BaseClass
{
protected YaWhoisClient _whois;
[SetUp]
public void Setup()
{
_whois = new TestClient();
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.