content stringlengths 23 1.05M |
|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Microsoft.Bot.Connector.Client.Models
{
public partial class OAuthCard : IUtf8JsonSerializable
{
void IUtf8JsonSe... |
/*----------------------------------------------------------------
// auth: https://github.com/code-mirage/FolderBrowserDialog
// date:
// desc: Visual Studio 2017 default FolderBrowserDialog not practical The component will be overridden
// mdfy: Windragon
//--------------------------------------------------------... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ItemButtonUI : MonoBehaviour
{
public Button button = null;
public Image image = null;
public Text textObj = null;
public Text itemCount = null;
public Pickable item = null;
void Update()
{
if(item == null)
{
Destroy(gameO... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;
using UnityEditor.Experimental.GraphView;
using System;
using System.Linq;
namespace AI.BehaviourTree
{
public class BehaviourTreeView : GraphView
{
public Action<NodeView> On... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace NWheels.Domains.ECommerce.Tests.Stacks
{
[TestFixture]
public class ManualStackTests
{
[Test]
public void ManualTest_MongoBreezeNancy()
... |
class GroupSample2
{
// The element type of the data source.
public class Student
{
public string First { get; set; }
public string Last { get; set; }
public int ID { get; set; }
public List<int> Scores;
}
public static Lis... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PlatformTimerController : MonoBehaviour {
public static PlatformTimerController instance = null;
public bool startPlatformTimer;
public float platformTimer;
public float currentPlatformTimer;
public Text platformTimerT... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FeindeSpawnen : MonoBehaviour
{
public GameObject[] feinde;
public int maxNum = 5;
void Start()
{
for (int i = 0; i < maxNum; i++) {
GameObject go = feinde[Random.Range(0, feinde.Length)];... |
using System.Text.Json.Serialization;
namespace Iot.PnpDashboard.Devices.Dtdl
{
public class InterfaceSchema
{
[DTMI]
[JsonPropertyName("@id")]
public string Id { get; set; }
[IRI]
[JsonPropertyName("@type")]
public string Type { get; set; }
[JsonPrope... |
using System;
using UnityEngine;
public class PanelBackgroundComponent : ComponentBase
{
public ButtonComponent CloseBtn;
public GameObject MaskBackground;
public event Action<UIPanelType> CloseEvent;
private UIPanelType m_PanelType;
private MaskType m_MaskType= MaskType.CloseBtnAndMaskBg_CloseEv... |
using System;
namespace CodingMilitia.Grpc.Shared.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class GrpcMethodAttribute : Attribute
{
public string Name { get; set; }
public GrpcMethodAttribute(string name)
{
Name = name;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Xunit;
namespace SharpUV.Tests
{
public class TimerTests
{
[Fact]
public void Delay()
{
//delay to test (3 seconds)
var delay = new TimeSpan(0, 0, 0, 3 /* seconds */);
//tollerance (a... |
using Castle.Core.Logging;
using Eaf.Dependency;
using System;
namespace Eaf.Web.Security.AntiForgery
{
public class EafAntiForgeryManager : IEafAntiForgeryManager, IEafAntiForgeryValidator, ITransientDependency
{
public EafAntiForgeryManager(IEafAntiForgeryConfiguration configuration)
{
... |
using System.Collections.Generic;
using EES.Entities.Concrete;
using EES.Entities.View;
namespace EES.Business.Abstract
{
public interface IEvaluationQuestionService
{
List<EvaluationQuestion> GetAll();
EvaluationQuestion GetById(int questionId);
EvaluationQuestion Insert(EvaluationQuest... |
// 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.Collections.Generic;
using Microsoft.Plugin.Folder;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
... |
namespace Shop.Common.Models
{
using System;
using Newtonsoft.Json;
public class TokenResponse
{
[JsonProperty("token")]
public string Token { get; set; }
[JsonProperty("expiration")]
public DateTime Expiration { get; set; }
}
}
|
namespace Secucard.Connect.Auth.Model
{
public class AnonymousCredentials : OAuthCredentials
{
public override string Id
{
get { return "anonymous"; }
}
}
} |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PlayWebApp.Services.Database.Model
{
public abstract class BusinessEntity : EntityBase
{
[Required]
[StringLength(128)]
[Column(TypeName = "nvarchar")]
public v... |
using EFCorePowerTools.Shared.Models;
using Microsoft.VisualStudio.Data.Core;
using Microsoft.VisualStudio.Data.Services;
using RevEng.Shared;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using System.IO;
using System.Windows.Forms;
// ReSharper disable once C... |
namespace Application.UseCases.Accounts.GetAccount;
using FluentValidation;
public sealed class GetAccountInputValidator : AbstractValidator<GetAccountInput>
{
public GetAccountInputValidator()
{
RuleFor(x => x.AccountId).NotEmpty();
}
} |
using System;
using System.Security.Cryptography;
using System.Text;
namespace DotneterWhj.ToolKits
{
/// <summary>
/// 加密工具类
/// </summary>
public static class EncryptHelper
{
//默认密钥
private static string AESKey = "[45/*YUIdse..e;]";
private static string DESKey = "[&HdN7... |
namespace Test.Radical.Helpers
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reflection;
using SharpTestsEx;
using System.Collections.Generic;
using Topics.Radical.Reflection;
[TestClass()]
public class TypeExtensionTests
{
[TestMethod]
public void typeExtension_toShort... |
// 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 System.ComponentModel;
using Microsoft.AspNetCore.DataProtection.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.D... |
using System;
namespace Ofl.Atlassian.Jira.V3
{
public static class JiraClientExtensions
{
#region Read-ony state.
private const string Version = "3";
private static readonly string ApiAbsolutePathBase = $"/rest/api/{ Version }/";
#endregion
#region Extensions.
... |
//------------------------------------------------------------------------------
//
// 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 doc... |
using System;
using DevExpress.ExpressApp.Blazor;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.DependencyInjection;
namespace Xenial.FeatureCenter.Module.Blazor
{
public sealed class HelpAndFeedbackWindowControllerBlazor : HelpAndFeedbackWindowControllerBase
{
protected override... |
namespace Pact.Provider.Wrapper.UrlUtilities
{
public class NamedRegularExpression
{
public string Name { get; set; }
public string RegEx { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Turmerik.Core.Reflection
{
public static partial class ConstantValues
{
}
}
|
using System;
namespace Commitments.Core.Exceptions
{
public class DomainException: Exception
{
public int Code { get; set; } = 0;
}
}
|
namespace GameCreator.Core
{
using UnityEngine;
using UnityEngine.InputSystem;
public class IgniterInputActionReference : Igniter
{
#if UNITY_EDITOR
public new static string NAME = "Input System/Input Action Triggered (Reference)";
public new static string COMMENT = "Check if the referenced Input Action ha... |
using System;
using System.Collections.Generic;
using System.Text;
namespace UEditor.Core
{
internal class AppConsts
{
internal class Action
{
public const string Config = "config";
public const string UploadImage = "uploadimage";
public const string UploadS... |
namespace Cubizer.Chunk
{
public delegate void OnChangeDelegate();
public delegate void OnDestroyDelegate();
public delegate void OnUpdate();
} |
using System;
using BinaryTree;
namespace _10._06_FindRootToLeafWithSpecifiedSum
{
class Program
{
static void Main(string[] args)
{
TreeNode root = new TreeNode(314);
root.Left = new TreeNode(6);
root.Left.Left = new TreeNode(271);
r... |
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class WorldData
{
public Dictionary<WorldPos, ChunkData> chunks = new Dictionary<WorldPos, ChunkData>();
}
|
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
#pragma warning disable 618
namespace System.Activities.Presentation
{
using System.Activities.Presentation.Internal.P... |
#if !NET40
// ReSharper disable once CheckNamespace
namespace System.Threading.Tasks
{
public static partial class TasksLikePromisesExtensions
{
public static async Task<TResult> Then<T, TResult>(this Task<T> task, Func<T, Task<TResult>> onFulfilled)
{
task.NotNull(nameof(task));
... |
using Sandbox;
namespace SandboxRealism
{
internal class RealismThirdPersonCamera : ThirdPersonCamera
{
public RealismThirdPersonCamera()
{
this.ZNear = 5.0f;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Abyss.Core.Parsers
{
public class DiscoverableTypeParserAttribute : Attribute
{
public bool ReplacingPrimitive { get; }
public DiscoverableTypeParserAttribute(bool replacingPrimitive = false)
{
Re... |
using System;
using System.Collections.Generic;
using System.Globalization;
using CompropagoSdk.Factory.Models;
using CompropagoSdk.Tools;
namespace CompropagoSdk
{
public class Service
{
private readonly Client _client;
/// <summary>
/// Initializes a new instance of the <see cref="... |
using Newtonsoft.Json;
using System;
namespace provide.Model.NChain
{
public class TokenContract: BaseModel
{
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Guid? NetworkId { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public Gu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace Json.Schema.Generation.Tests
{
public class PropertyOrderTests
{
private class SpecifiedOrder
{
public int Second { get; set; }
public int First { get; set; }
}
[Test]
public void ... |
using System.Reflection.Emit;
static class ConstructorDelegateBuilder
{
public static Func<object> BuildConstructorFunc(Type type)
{
var constructor = type.GetConstructor(Type.EmptyTypes);
if (constructor == null)
{
throw new($"There is no empty constructor: {type.FullName}... |
using System;
using System.Numerics;
using System.Threading;
namespace Benchmark.Engine;
internal sealed class Visualiser
{
private const int Opaque = 0xFF << 24;
private readonly Rasteriser _rasteriser;
private Model _model;
private double _angle;
private bool _loaded;
public Visualiser(int... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class ProceduralMapManager : MonoBehaviour
{
[SerializeField]
private Tilemap map;
[SerializeField]
private List<TileData> tileDatas;
private Dictionary<TileBase, TileData> dataFromT... |
using System.Collections.Generic;
using UnityEngine;
using KSP.Localization;
namespace KERBALISM
{
public class ProcessController: PartModule, IModuleInfo, IAnimatedModule, ISpecifics, IConfigurable
{
// config
[KSPField] public string resource = string.Empty; // pseudo-resource to control
[KSPFi... |
using Jc.Data;
using MySql.Data.MySqlClient;
using System;
using System.Data.Common;
namespace Jc.Data
{
public class MySqlDbCreator: IDbCreator
{
/// <summary>
/// 创建连接
/// </summary>
/// <returns></returns>
public DbConnection CreateDbConnection(string connectString)
... |
using Steamworks;
using System.Collections;
using UnityEngine;
public class LoadScene : MonoBehaviour {
public SceneField scene;
public float delay = 2.0f;
public float damp = 0.75f;
public bool goToLanguageSelection = false;
private void Start() {
if (!GameSettings.loaded)
Ga... |
using System;
namespace CodeGraph {
[Serializable]
public class SerializedEdge {
public string SourceNodeGUID;
public int SourceNodeIndex;
public string TargetNodeGUID;
public int TargetNodeIndex;
}
} |
namespace Quill.Delta
{
public class ListConverter
{
public static string GetStringValue(ListType? list) =>
list.HasValue ? GetStringValue(list.Value) : "";
public static string GetStringValue(ListType list) =>
list == ListType.Ordered ? "ordered" :
list == ... |
using System.Linq;
using AutoMapper;
using DatingApp.API.Dtos;
using DatingApp.API.Models;
namespace DatingApp.API.Helpers
{
public class AutoMapperProfiles : Profile
{
public AutoMapperProfiles()
{
CreateMap<User, ListUsersModel>()
.ForMember(dest => dest.PhotoUrl, ... |
using System.Collections.Generic;
using Embark.DataChannel;
namespace Embark.Storage
{
/// <summary>
/// Persistence for CRUD operations to a storage medium
/// </summary>
public interface IDataStore
{
/// <summary>
/// Get all the Collections
/// </summary>
IEnumer... |
// Author: Franco (...), retoques por Nacho
/*
* [Tiempo máximo recomendado: 40 minutos]
*
* 192.
* El formato DBF es el usado por el antiguo gestor de bases de datos dBase,
* y soportado como formato de exportación por muchas herramientas actuales,
* como Excel o Access.
*
* Debes crear un programa que... |
namespace Shriek.ServiceProxy.Socket
{
/// <summary>
/// 定义会话请求的上下文
/// </summary>
public interface IContenxt
{
/// <summary>
/// 获取当前会话对象
/// </summary>
ISession Session { get; }
/// <summary>
/// 获取当前会话收到的数据读取器
/// </summary>
ISessi... |
using OnceMi.Framework.Util.Text;
using SkiaSharp;
using System.Text;
namespace OnceMi.Framework.Util.User
{
public class RandomAvatar
{
public byte[] Create(string username, int picSize)
{
if (picSize < 128)
{
picSize = 128;
}
st... |
namespace FubuMVC.Core.Diagnostics.Packaging
{
public class PackageDiagnosticsRequestModel
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServerHost.Quickstart.UI;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hos... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Zapto.Mediator;
namespace Mediator.DependencyInjection.Tests.Generics;
public class GenericNotificationHandler<T> : INotificationHandler<GenericNotification<T>>
{
private readonly Result _result;
public GenericNotificationHandler(Resu... |
namespace LINGYUN.Abp.WeChat.Official
{
public class AbpWeChatOfficialOptions
{
/// <summary>
/// 公众号服务器消息Url
/// </summary>
public string Url { get; set; }
/// <summary>
/// 公众号AppId
/// </summary>
public string AppId { get; set; }
/// <s... |
using Pea.Geometry.General;
using System.Collections.Generic;
namespace Pea.Geometry2D.Shapes
{
public interface IShape2D : IDeepCloneable<IShape2D>, ITransformable<IShape2D, Vector2D>
{
Vector2D Center { get; set; }
Rectangle BoundingRectangle { get; }
List<Vector2D> Points { get; }
double MarginWidth { ge... |
namespace CoinMonitor.Interfaces.ServiceHolders
{
public interface IServiceHolder
{
void Init();
void Stop();
}
}
|
using System.Collections.Generic;
namespace Aptiv.DBCFiles
{
/// <summary>
/// An ECU object described by a DBC file.
/// </summary>
public interface IDBCECU
{
/// <summary>
/// The name of this ECU.
/// </summary>
string Name { get; }
/// <summary>
... |
using Microsoft.EntityFrameworkCore;
using question_weight.infra.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace question_weight.infra
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
{
... |
using System;
namespace FastMDX {
class ParsingException : Exception {
public override string Message => "Parsing error.";
}
}
|
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace SpringOff.DNEx
{
internal sealed class ApiService : IApiService
{
private const string BaseUrl = "http://www.drivernotes.net/api";
private readonly ILogger _logger;
pub... |
using Database.Data;
using Database.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Database.BusinessLogic
{
static class DatabaseBusinessLogic
{
public static void AddUser(AdaptiveWeather.UserFromInterface user)
... |
using Q42.HueApi.Models.Bridge;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Q42.HueApi.Interfaces
{
/// <summary>
/// Different platforms can make specific implementations of this interface
/// </summary>
public interface IBridg... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DotNetNuke.Entities.Urls;
namespace DNN.Modules.NewsArticlesFriendlyUrlProvider
{
internal class NewsArticlesFriendlyUrlProviderInfo : ExtensionUrlProviderInfo
{
}
} |
public class LevelManager3 : LevelManager
{
public override void Start()
{
base.Start();
Services.GravityButton.GravitySwitch();
}
}
|
using Microsoft.Extensions.DependencyInjection;
//ReSharper disable once CheckNamespace
namespace Microsoft.EntityFrameworkCore
{
public class MySqlTestHelpers : TestHelpers
{
protected MySqlTestHelpers()
{
}
public static MySqlTestHelpers Instance { get; } = new MySqlTestHelpe... |
// 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;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace Microsoft.EntityFrameworkCore.Met... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Archer : Unit, IProduct
{
public void MakeUnit(int hp, int initiative, int damage, IObservable hero, int armyNumber)
{
this._isAlive = true;
this._hp = hp;
this._damage = damage;
this._in... |
using System.IO;
using BenchmarkDotNet.Extensions;
using Xunit;
namespace BenchmarkDotNet.Tests
{
public class StringExtensionsTests
{
[Fact]
public void AsValidFileNameReplacesAllInvalidFileNameCharactersWithTheirRepresentation()
{
foreach (char invalidPathChar in Path.Get... |
using System.Collections.Generic;
namespace MongoDB
{
public record CreatePersonInput(
string Name,
IReadOnlyList<Address> Addresses,
Address MainAddress);
} |
using Microsoft.DataTransfer.Basics;
using Microsoft.DataTransfer.WpfHost.Basics.Commands;
using Microsoft.DataTransfer.WpfHost.Extensibility;
using Microsoft.DataTransfer.WpfHost.ServiceModel;
using Microsoft.DataTransfer.WpfHost.ServiceModel.Configuration;
using System;
using System.Windows;
namespace Microsoft.Dat... |
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
namespace Battlehub.UIControls.DockPanels
{
public class DepthMaskingBehavior : MonoBehaviour
{
[SerializeField]
private Material m_depthMaskMaterial = null;
private DockPanel m_root;
... |
using System.Linq;
using System.Threading.Tasks;
using Domain;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Web.Areas.Admin.ViewModels;
namespace Web.Areas.Admin.Controllers
{
[Authorize(Roles = "admin")]
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Clarifai.API;
using Clarifai.API.Responses;
using Clarifai.DTOs.Predictions;
using Clarifai.UnitTests.Fakes;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace Clarifai.UnitTests
{
[TestFixture]
public class ConceptsUnitTests
... |
using UnityEngine;
using System.Collections;
public class Health : MonoBehaviour
{
[Header ("Health")]
[SerializeField] private float startingHealth;
public float currentHealth { get; private set; }
private Animator anim;
private bool dead;
[Header("iFrames")]
[SerializeField] private floa... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace BarcodeSimulator
{
public static class Barcode
{
public static string GetTypeName(string input)
{
if (IsUpcA(input)) return "UPC-A";
if (IsEan13(input)) return "EAN-13";
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PandoraSharp
{
//Encryption key for XmlRpc; corresponds to crypt_key_output.h in the pianobar library
internal static class XmlRpcKey
{
public static readonly uint N = 16;
public static readonly UInt32[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace ExpanseReportManager.Models
{
public class RoleViewModels
{
[Display(Name = "Id Role")]
public string Id { get; set; }
[Display(Name = "Nom Role"... |
namespace Blog.Viewer.Shell
{
using IoC.UI.Data;
using IoC.UI.Interfaces;
public class ShellModuleLoader : IModuleLoader
{
private readonly MenuItemData[] menuItemDatas;
public ShellModuleLoader(MenuItemData[] menuItemDatas)
{
this.menuItemDatas = menuItemDatas;
}
public void Initializ... |
using System;
namespace OsuSongsFolderWatcher
{
internal class BeatmapLoadFailedException : Exception { }
} |
using Location.Core.Entities;
using Location.Infrastructure.Seed.Seeders.Base;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace Location.Infrastructure.Seed.Seeders;
public class CountrySeeder : ISeeder
{
public int Order => 1;
public async Task SeedAsync(LocationContext co... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... |
#l "constants.cake"
#l "backup.cake"
void EmbedApiKeys()
{
var apiKeysPath = sourceFolder + File("Captura.Core/ApiKeys.cs");
var variables = new [] { "imgur_client_id" };
Information("Embedding Api Keys from Environment Variables ...");
CreateBackup(apiKeysPath, tempFolder + File("ApiKeys.cs"));
... |
namespace OpenSheets.Core
{
public enum ThreadFlag
{
Pin,
Locked,
Hidden
}
} |
using BlazorComponent;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Masa.Blazor
{
public partial class MTabsBar : MSlideGroup, IThemeable
{
[Parameter]
public string Backgrou... |
// 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.Runtime.InteropServices;
using static Interop;
namespace System.Windows.Forms.Metafiles
{
/// <su... |
using System;
class Nacepin
{
static void Main(string[] args)
{
double usPrice = double.Parse(Console.ReadLine());
double usWeight = double.Parse(Console.ReadLine());
double ukPrice = double.Parse(Console.ReadLine());
double ukWeight = double.Parse(Console.ReadLine());
... |
using System.Linq;
using System.Threading.Tasks;
using AllReady.Areas.Admin.ViewModels.Itinerary;
using AllReady.Models;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace AllReady.Areas.Admin.Features.TaskSignups
{
public class VolunteerTaskSignupSummaryQueryHandler : IAsyncRequestHandler<VolunteerTas... |
using System;
using System.Collections.Generic;
using System.Xml;
namespace Recurly
{
public class AddOn : RecurlyEntity
{
public string PlanCode { get; private set; }
public string AddOnCode { get; set; }
public string Name { get; set; }
private Dictionary<string, int> _uni... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BagOUtils.Guards.Messages;
namespace BagOUtils.Guards
{
/// <summary>
/// Extensions methods that allow fluent comparison of numbers. This
/// is needed so we can have generic extensio... |
using System;
using UnityEngine;
// Token: 0x02000348 RID: 840
[Serializable]
public class BucketWeights : BucketContents
{
// Token: 0x1700037C RID: 892
// (get) Token: 0x06001784 RID: 6020 RVA: 0x000B9148 File Offset: 0x000B7548
// (set) Token: 0x06001785 RID: 6021 RVA: 0x000B9150 File Offset: 0x000B7550
public... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace api_pix_net.Models.Pix
{
public class Horario
{
[JsonProperty("solicitacao")]
public DateTime Solicitacao { get; set; }
}
}
|
using System;
namespace WhatsNotReferenced
{
public class DropAssetsAction
{
readonly UnreferencedAssets assets;
public DropAssetsAction(UnreferencedAssets unreferenced)
{
assets = unreferenced;
}
public void Execute()
{
foreach (var t... |
/* ====================================================================
*/
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Xml;
namespace Oranikle.Report.Engine
{
///<summary>
/// The sets of data (defined by ... |
namespace Shapes2D {
using UnityEngine;
using System.Collections;
public class DragCamera : MonoBehaviour {
Vector3 anchor;
Vector3 origin;
bool dragging;
bool zoomed;
float lastClick;
void LateUpdate () {
if (Input.GetMouseButtonDown(0)) {
float time = Time.time;
if (time - lastClick < 0.... |
namespace CustomControls.Design
{
using System;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
/// <summary>
/// Class for displaying a flags enumeration in the designer.
/// </summary>
/// <remarks>From CodeProject : http://www.codeproject.com/KB/edit/flagenumedito... |
using System;
using System.Reactive;
using System.Reactive.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace KanjiReviewer
{
static class ControlObservable
{
public static IObservable<EventPattern<RoutedEventArgs>> FromClick(AppBarButton button)
{
return Observ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.