text stringlengths 1 932k |
|---|
using Microsoft.Extensions.DependencyInjection;
using Moq;
using NUnit.Framework;
using SolidRpc.OpenApi.DotNetTool;
using SolidRpc.Tests.Swagger.CodeGen.Petstore.Types.Services.User.UpdateUser;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Thr... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
using System.Colle... |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation 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.Generic;
using System.Text.RegularExpressions;
using Microsoft.Plugin.Indexer.Interop;
using Wox... |
using FluentAssertions;
using Kros.KORM.Extensions.Asp;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using Xunit;
namespace Kros.KORM.Extensions.Api.UnitTests
{
public class ServiceCollectionExtensionsShould
{
[Fact]
public void AddKorm... |
using System;
namespace MySqlConnector
{
/// <summary>
/// <see cref="MySqlError"/> represents an error or warning that occurred during the execution of a SQL statement.
/// </summary>
public sealed class MySqlError
{
internal MySqlError(string level, int code, string message)
{
Level = level;
#pragma warn... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Threading;
using CometD.NetCore.Bayeux.Client;
using CometD.NetCore.Client;
using CometD.NetCore.Client.Extension;
using CometD.NetCore.Client.Transport;
using Microsoft.Extensions.Logging;
using Micr... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Modify the system level data associated with the Busy Lamp Field
/// Service.... |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Camunda.Api.Client.History
{
public class HistoricTaskQuery : SortableQuery<HistoricTaskSorting, HistoricTaskQuery>
{
/// <summary>
/// Filter by task id.
/// </summary>
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Haken.CSharp8Demo
{
public class IndicesAndRanges
{
public static void Demo()
{
int[] a = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
Index i1 = 3; // number 3 from beginning ... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationMo... |
namespace OpenQA.Selenium.Safari
{
// This is a simple wrapper class to create a SafariDriver that
// uses the technology preview implementation and has no parameters in the
// constructor.
public class SafariTechnologyPreviewDriver : SafariDriver
{
public SafariTechnologyPreviewDriver()
... |
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("da... |
using System;
using Xunit;
public class SeriesTest
{
public static readonly TheoryData<string, int[][]> SliceOneTestData = new TheoryData<string, int[][]>
{
{ "01234", new[] { new[] { 0 }, new[] { 1 }, new[] { 2 }, new[] { 3 }, new[] { 4 } } },
{ "92834", new[] { new[] { 9 }, new[] ... |
namespace Pose.Domain.Editor.Messages
{
public class CurrentDocumentSaved
{
}
} |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.AccessApi.Events
{
#pragma warning disable
#region SinkPoint Interface
[SupportByVersion("Access", 12,14,15,... |
/*
Copyright 2006-2011 Stefano Chizzolini. http://www.pdfclown.org
Contributors:
* Stefano Chizzolini (original code developer, http://www.stefanochizzolini.it)
This file should be part of the source code distribution of "PDF Clown library" (the
Program): see the accompanying README files for more info.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Subscriptions.Data;
using Subscriptions.Specifications;
namespace Subscriptions.Queries.GetActiveSubscriptions
{
public class GetActiveS... |
using System;
using System.Collections.Generic;
using System.Threading.Channels;
using System.Threading.Tasks;
namespace Amphisbaena {
//-------------------------------------------------------------------------------------------------------------------
//
/// <summary>
/// Channel Reader Factory
/// </summ... |
using NAudio.Vorbis;
using NAudio.Wave;
using System;
using System.IO;
namespace OrchestrionPlugin.CustomSong
{
enum AudioConvertError
{
None = 0,
NullPath = 1,
PathTooLong = 2,
DirectoryNotFound = 3,
UnauthorizedAccess = 4,
FileNotFound = 5,
FileTypeNot... |
/*
MIT License
Copyright (c) 2019 fraterct
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, including without limitation the rights
to use, copy, modify, merge, publish, distr... |
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("CH... |
namespace DaemonEngine.OpenGL.DllImport.Enums;
public enum GLShaderType : uint
{
None = 0,
VertexShader = GLConstants.GL_VERTEX_SHADER,
FragmentShader = GLConstants.GL_FRAGMENT_SHADER,
ComputeShader = GLConstants.GL_COMPUTE_SHADER
} |
using System;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using Huoyaoyuan.AdmiralRoom.API;
using Meowtrix.Collections.Generic;
using Meowtrix.ComponentModel;
using Newtonsoft.Json.Linq;
#pragma warning disable CC0091
namespace Huoyaoyuan.AdmiralRoom.Officer
{
p... |
using System;
using System.Linq;
using Eto.Drawing;
using SD = System.Drawing;
using MonoMac.CoreGraphics;
using MonoMac.AppKit;
using MonoMac.Foundation;
namespace Eto.Platform.Mac.Drawing
{
public class RegionHandler : Region
{
//Gdk.Region region;
//Gdk.Region original;
public RegionHandler ()
{
//this... |
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("05... |
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated May 1, 2019. Replaces all prior versions.
*
* Copyright (c) 2013-2019, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative wor... |
using System.Numerics;
using JM.LinqFaster.Utils;
namespace JM.LinqFaster.SIMD
{
public static partial class LinqFasterSIMD
{
/// <summary>
/// Determines whether an array contains a specified element
/// using SIMD.
/// </summary>
/// <param name="so... |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 writing,... |
namespace EncantosSalao.Web.Areas.Administracao.Controllers
{
using System.Threading.Tasks;
using EncantosSalao.Comum;
using EncantosSalao.Servicos.Dado.Cidades;
using EncantosSalao.Web.VisaoModelos.Cidades;
using Microsoft.AspNetCore.Mvc;
public class CidadesController : AdministracaoControl... |
// 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.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Dyna... |
// Copyright 2021 The NATS Authors
// 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 w... |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Meme_Platform.Services
{
public interface IProxyService
{
SharedProxyOptions Options { get; }
... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using Models;
namespace DAL
{
public class LLKAJService : IModelService
{
public int EditModel(IModel model)
{
LLKAJ objModel = (LLKAJ)model;
//编写带参数的SQL语句
StringBuilder sqlBuil... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExamApp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace ExamApp.Controllers
{
public class ShowController : Controller
{
private readonly ExamDbContext context;... |
using Microsoft.Extensions.Logging;
using Microsoft.Graph;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace M365.TeamsBackup.Core.Services
{
public interface IGraphClientService
{
GraphServiceClient GetGraphClient(ILogger log... |
namespace SmallThings.Shapes
{
/// <summary>
/// An simple reactangle for demonstration purpose.
/// </summary>
public class Rectangle
{
private readonly uint x_mm;
private readonly uint y_mm;
private readonly uint width_mm;
private readonly uint height_mm;
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public sealed class DraggableRect : MonoBehaviour {
private bool clickedOnLastEvent = false;
private Vector2 currentMousePos = Vector2.zero;
private Vector2 oldMousePos = Vector2.zero;
bool CollideMousePositionWithRect(Rect re... |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic 3150, A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using STGSample.Bullets;
namespace STGSample.Barrage
{
public class LineBarrage : AbstractBarrage
{
private Vector2 velocity;
private Vector2 accel... |
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Convey.Persistence.OpenStack.OCS.Http;
namespace Convey.Persistence.OpenStack.OCS.Auth;
internal class AuthManager : IAuthManager
{
private readonly OcsOptions _ocsOptions;
private readonly HttpClient _httpClient;
... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... |
namespace Tailspin.Web.Survey.Public
{
using System.Web.Mvc;
using System.Web.Routing;
public static class AppRoutes
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.MapRoute(
"Home",
string.Empty,
new { con... |
namespace Estates.Interfaces
{
public interface IRentOffer : IOffer
{
decimal PricePerMonth { get; set; }
}
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using Esfa.Recruit.Vacancies.Client.Application.Providers;
using Esfa.Recruit.Vacancies.Client.Application.Rules.Engine;
using Esfa.Recruit.Vacancies.Client.Domain.Entities;
using Esfa.Recruit.Vacancies.Client.Domain.Events;
using Esfa.Recruit.Vacancies.Cli... |
/*
* Domain Public API
*
* See https://developer.domain.com.au for more information
*
* The version of the OpenAPI document: v2
* Contact: api@domain.com.au
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectM... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
namespace CrownPeak.AccessAPI
{
[DebuggerStepThrough]
[GeneratedCode("System.ServiceModel", "4.0.0.0")]
public class GetUserPreferencesDataCompletedEventArgs : AsyncCompletedEventArgs
{
private object[] results;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMotion : MonoBehaviour {
public float cameraspeed = 4;
//设置可控属性组件来控制镜头初始移动速度
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
float h = In... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Contour.Helpers;
using Contour.Receiving;
using Contour.Testing.Transport.RabbitMq;
using NUnit.Framework;
namespace Contour.RabbitMq.Tests
{
/// <summary>... |
using Akka.Actor;
using Akka.Configuration;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mqb.Akka.Config
{
public static class AkkaConfigExtensions
{
// config a... |
// Copyright (c) BruTile developers team. All rights reserved. See License.txt in the project root for license information.
using System;
using System.IO;
using BruTile.Cache;
namespace BruTile.FileSystem
{
public class FileTileProvider : ITileProvider
{
readonly FileCache _fileCache;
public... |
namespace OpenSports.GroupsApi.Commands
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using OpenSports.GroupsApi.Repositories;
using System.Threading;
public class DeleteCarCommand : IDeleteCarCommand
{
private readonly ICarRepository carRepository;
public Del... |
// 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.IO;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
{
public ab... |
//Github:https://github.com/omar/ByteSize
using System;
using System.ComponentModel;
using System.Globalization;
namespace ByteSizeLib
{
/// <summary>
/// Provides a type converter to convert <see cref="ByteSize"/> objects to and from <see cref="string"/> objects.
/// </summary>
internal class ByteSiz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LanguageExt;
using LiteDB;
using MilkBottle.Entities;
using MilkBottle.Interfaces;
namespace MilkBottle.Database {
class PresetProvider : EntityProvider<Preset>, IPresetProvider {
private readonly ISidec... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Xml;
using Xunit;
using TestTypes;
public static class Net... |
namespace DaemonEngine.Graphics.Renderer;
public interface IRenderer
{
void Initialize();
void Shutdown();
void BeginScene(ICamera camera);
void EndScene();
void RenderGeometry(IPipeline pipeline, IVertexBuffer vertexBuffer, IIndexBuffer indexBuffer, int indexCount = 0);
void RenderGeometry(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProtoBuf;
namespace MumbleSharp.Packets
{
[ProtoContract]
public class CodecVersion
{
[ProtoMember(1)]
public Int32 Alpha;
[ProtoMember(2)]
public Int32 Beta;
[ProtoMember(... |
/*
* 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 System.Collections.Generic;
namespace GoogleMapsApiDotNet.DistanceMatrixApi.Domain.Response
{
public class DistanceMatrixResponse
{
public List<string> Destination_addresses { get; set; }
public List<string> Origin_addresses { get; set; }
public List<Row> Rows { get; set; }
public string Status { get;... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace WPF_Practice
{
public class DateTimeConverter : IValueConverter
{
public object Convert(object value, Type targetType, ob... |
using Marsman.UmbracoCodeFirst;
using Marsman.UmbracoCodeFirst.ContentTypes;
using Marsman.UmbracoCodeFirst.DataTypes;
using Marsman.UmbracoCodeFirst.Attributes;
using Marsman.UmbracoCodeFirst.Extensions;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System;
using Marsman.UmbracoCodeFirs... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.UI.ViewModels.PropertyWindow.Descriptors
{
using System;
using System.ComponentModel;
using System.Globalization;
using... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccess.Migrations
{
public partial class DropIssueTypeFk : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Issues_IssueType_IssueType... |
using CarShopAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarShopAPI.Services
{
public interface ICarroService
{
List<Carro> All();
Carro Get(int? id);
bool Create(Carro c);
bool Update(Carro c);
... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace System.Web.Mvc
{
public class RequiredAttributeAdapter : DataAnnotationsModelValidator<RequiredAttribu... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using Orleans;
using Orleans.Configuration;
using Orleans.Providers;
using Orleans.Runtime;
using Orleans.Transactions.Abstractions;
using Orleans.Transactions.Azu... |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Maticsoft.Web.View.Business.BatchMng {
... |
// Copyright 2022 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 ... |
@{
ViewData["Title"] = "Access denied";
}
<header>
<h1 class="text-danger">@ViewData["Title"]</h1>
<p class="text-danger">You do not have access to this resource.</p>
</header> |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Co... |
#pragma checksum "..\..\Encryption.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8128B580CF7DA4D05B0333B868FF1ADEACFB3946"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Ch... |
//
// EnterFrameTimer.cs
//
// Author:
// Hongbin.Yang <>
//
// Copyright (c) 2014 Hongbin.Yang
//
// 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, including wit... |
using System.Threading.Tasks;
namespace SolarDigest.Cli.Commands
{
public interface ICommand
{
Task Execute();
}
} |
// Copyright 2019 Google Inc. 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
//
// Unless required by applica... |
using System;
namespace LiteNetwork.Exceptions
{
public class LiteClientException : Exception
{
public LiteClientException()
: this(string.Empty)
{
}
public LiteClientException(string message)
: this(message, null!)
{
}
public L... |
using System.Windows.Forms;
namespace Loupe.Extension.FindByUser
{
partial class FindByUserConfigurationDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private GroupBox gbDatabase;
... |
/*
* 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... |
/*
* 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 Slipe.MtaDefinitions;
using Slipe.Shared.Elements;
using System;
using System.Collections.Generic;
using System.Text;
namespace Slipe.Client.Peds.Events
{
public class OnTargetEventArgs
{
/// <summary>
/// The element that is targeted, can be null
/// </summary>
public Ph... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Elasticsearch.Net
{
/// <summary>
/// A formatter that can utilize <see cref="IConnectionConfigurationValues" /> to resolve <see cref="IUrlParameter" />'s passed
/// as format arguments. It also handles known string representations for e.g... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2021 Rasmus Mikkelsen
// Copyright (c) 2015-2021 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software... |
using ToHModels;
using System.Collections.Generic;
namespace ToHDL
{
public class HeroRepoSC : IHeroRepository
{
public List<Hero> GetHeroes()
{
return Storage.AllHeroes;
}
public Hero AddHero(Hero newHero)
{
Storage.AllHeroes.Add(newHero)... |
// Copyright (c) 2017 Jan Pluskal
//
//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 w... |
public interface IBannerAdSettingService : IMasterDataService<BannerAdSettingDTO>
{
} |
using System;
using System.Globalization;
using System.Threading;
/*Problem 6. The Biggest of Five Numbers
Write a program that finds the biggest of five numbers by using only five if statements.*/
namespace TheBiggestOfFiveNumbers
{
class TheBiggestOfFiveNumbers
{
static void Main(string[] args)
... |
#if UNITY_TIMELINE_EXIST && UNITY_2019_2_OR_NEWER
using UnityEditor;
using UnityEditor.Timeline;
using UnityEngine;
using UnityEngine.Timeline;
namespace FMODUnity
{
[CustomTimelineEditor(typeof(FMODEventTrack))]
public class FMODEventTrackEditor : TrackEditor
{
static readonly Texture2D icon = E... |
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.H... |
/*
* 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 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.CodeGuruReviewer")]
[assembly: Asse... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Commons;
using Charlotte.GameCommons;
namespace Charlotte.Games.Shots
{
/// <summary>
/// 自弾(プレイヤーの弾)
/// </summary>
public abstract class Shot
{
public double X;
public double Y;
public bool FacingLeft;
... |
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("03... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
#if WORKINPROGRESS
using System.Globalization;
using System.Runtime.InteropServices;
using System.Security;
namespace System.Reflection.Emit
{
//
// Summary:
// Defines and represents a dynamic method that can be compiled, executed, and discarded.
// Discarded methods are available for garbage collection.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Reflection;
using System.Globalization;
namespace ToreAurstadIT.LambdaParser
{
/// <summary>
/// Lambda expression parser core class
/// </ summary>
/// <typeparam name = "t... |
using System;
using System.Web.UI.WebControls;
using Data;
using System.Web.Security;
namespace BugTrackingSystem.Administrator
{
public partial class Project : System.Web.UI.Page
{
private Data.Project _OldProject;
private Data.Project _NewProject;
protected void Page_Load(object sender, EventAr... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ITResources.Models;
namespace ITResources.Controllers
{
public class HomeController : Controller
{
privat... |
using System;
using Moq;
using NUnit.Framework;
using Quotidian.Diagnostics.Source;
using Quotidian.Diagnostics.Source.Domain;
namespace Quotidian.Diagnostics.Tests
{
public class DomainTests
{
[Test]
public void TestWarningBasic()
{
var mock = new Mock<ITrace>(MockBehavior.... |
// *** 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.