text stringlengths 1 932k |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Invector.vCharacterController
{
public class vJumpMultiplierTrigger : MonoBehaviour
{
public float multiplier = 5;
public float timeToReset = 0.5f;
void OnTriggerStay(Collider other)
{
... |
namespace BalkanAir.Services.Data.Tests
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BalkanAir.Data.Models;
using Contracts;
using TestObjects;
[TestClass]
public class BaggageServicesTests
{
private IBaggageServices baggage... |
using Microsoft.AspNetCore.Http;
namespace API.Models.Requests;
/// <summary>
/// Represents request to save blob.
/// </summary>
public class SaveBlobRequest
{
/// <summary>
/// Initializes a new instance of the GetBlobRequest class.
/// </summary>
/// <param name="blob"><inheritdoc cref="Blob"/></p... |
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.ComponentModel.DataAnnotations;
namespace IdentityServerHost.Quickstart.UI
{
public class LoginInputModel
{
[Required] public string Username { get; set; }
[Requir... |
@model Olo42.SAROM.WebApp.Models.Person
@{
ViewData["Title"] = "Details";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1>Details</h1>
<div>
<h4>Person</h4>
<hr />
<dl class="row">
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.Dog)
</dt>
<dd class="col-sm-10">
@Html... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GraphYourMemory : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
} |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Stl.Fusion.Interception;
using Stl.Fusion.Internal;
using Stl.Locking;
namespace Stl.Fusion.Swapping
{
public class SwappingComputed<T> : Computed<T>, IAsyncComputed<T>, ISwappable
{
... |
namespace Efrpg.Mustache
{
internal class Substitution
{
public string Key { get; set; }
public string Substitute { get; set; }
public bool IsExtension { get; set; }
}
} |
// ***********************************************************************
// Assembly : SeaweedFs
// Author : piechpatrick
// Created : 10-09-2021
//
// Last Modified By : piechpatrick
// Last Modified On : 10-11-2021
// **********************************************************************... |
@{
ViewBag.Title = "IdleTimer";
}
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-10">
<h2>Idle Timer</h2>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="@Url.Action("Dashboard_1", "Dashboards")">Home</a>
... |
using Project.Roles_and_Champions;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project
{
public partial class Form1 : Form
{
... |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... |
// <auto-generated />
using System;
using MeterDataDashboard.Infra.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreS... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.7.2
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------... |
using System;
using System.Reflection;
namespace Octokit.Tests.Conventions
{
public class ReturnValueMismatchException : Exception
{
public ReturnValueMismatchException(MethodInfo method, Type expected, Type actual)
: base(CreateMessage(method, expected, actual))
{ }
publi... |
namespace CsharpHelpers.Helpers
{
public interface ILogger
{
void Write(string log);
}
} |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmddi.h(4633,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _DXGK_VALIDATESUBMITCOMMANDFLAGS__union_0
{
[MarshalAs(UnmanagedType.ByValArr... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Android.Views;
using Android.Widget;
using Java.Util;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using View = Android.Views.View;
namespace XamEffects.Droid.Collectors
{
public static class ViewOverlayCollector
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WcfServiceApp
{
public static class Converter
{
public static WcfDto ConvertWCFtoWCFDTO(Students obj)
{
WcfDto objdto = new WcfDto();
objdto.id = obj.id;
objdto.na... |
using FluentValidation;
using LessonMonitor.Core.CoreModels;
namespace LessonMonitor.BusinessLogic.Validators
{
public class MemberValidator : AbstractValidator<Member>
{
public MemberValidator()
{
RuleFor(x => x.Id).Empty();
RuleFor(x => x.Name).NotEmpty();
... |
using System.Collections.ObjectModel;
using Newtonsoft.Json;
namespace Nightingale.Core.Models
{
public class WorkspaceCollection : WorkspaceItem, IWorkspaceCollection
{
private string _name;
private bool _isExpanded = true;
public WorkspaceCollection()
{
}
pu... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
namespace DigitalLearningSolutions.Web.ViewModels.TrackingSystem.Centre.ContractDetails
{
using System.Collections.Generic;
using System.Linq;
using DigitalLearningSolutions.Data.Models;
using DigitalLearningSolutions.Data.Models.User;
using DigitalLearningSolutions.Web.Helpers;
public class C... |
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework.Forms;
using MetroFramework.Components;
namespace TP_ARQUITETURA
{
public parti... |
namespace StackCache.Core.Distributed
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CacheKeys;
using Configuration;
using Locking;
using Messaging;
using Serializers;
using StackExchange.Redis;
/// <summary>
/// ... |
using OpenHardwareMonitor.Hardware;
using System.Collections.Generic;
using TTController.Common;
namespace TTController.Service.Config.Converter
{
public class SensorConfigConverter : AbstractNamedValueTupleConverter<List<Identifier>, SensorConfig>
{
protected override string KeyName() => "Sensors";
... |
using FigmaSharp.Wpf;
using LocalFile.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Wind... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("ZapLibTests2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assembl... |
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("BaseEntities")]
[assembly: AssemblyDescr... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 11.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
using jQueryApi;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Serenity
{
public static partial class Q
{
[Imported]
public static class Config
{
/// <summary>
/// Variable that holds web applications root path.... |
using Furion.DependencyInjection;
using System;
namespace Furion.DatabaseAccessor
{
/// <summary>
/// 构建 Sql 字符串执行部件
/// </summary>
[SkipScan]
public sealed partial class SqlStringExecutePart
{
/// <summary>
/// Sql 字符串
/// </summary>
public string SqlString { g... |
using System;
using System.Runtime.InteropServices;
//TODO: Use enums as return values or at least named constants.
namespace ISAAR.MSolve.LinearAlgebra.Providers.PInvoke
{
/// <summary>
/// Platform Invoke methods for calling the SuiteSparse library via my custom C interface.
/// Authors: Serafeim Bakala... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Serialization;
namespace Abp.AspNetCore.App.AppServices
{
... |
using System;
using Bunit.Extensions;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
namespace Bunit
{
/// <summary>
/// A test context is a factory that makes it possible to create components under tests.
/// </summary>
public class TestContext : TestContextBase
{
/// <summary>
/// Gets bU... |
using CountersPlus.Counters.Interfaces;
using Zenject;
namespace CountersPlus.Counters.Event_Broadcasters
{
/// <summary>
/// A <see cref="EventBroadcaster{T}"/> that broadcasts events relating to note cutting and missing.
/// </summary>
internal class NoteEventBroadcaster : EventBroadcaster<INoteEven... |
// https://docs.microsoft.com/en-us/visualstudio/modeling/t4-include-directive?view=vs-2017
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Bot.Builder.Solutions.Responses;
namespace ITSMSkill.Responses.Ticket
{
/// <summary>
/// Contains bot re... |
namespace BlackJack
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disp... |
using CryptoMining.ApplicationCore.Pool;
using CryptoMining.ApplicationCore.Exchange;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Text;
namespace CryptoMining.ApplicationCore
{
public class MiningCalculator
{
private BinanceAPI _... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;
namespace Laba
{
class Laba1
{
public string inputText;
public static string filePathOutFinalCaesar = @"../textFileOutCaesar.txt";
public static string filePathOutFinalBigramm = @"../... |
using Convey;
using Convey.WebApi.Security;
namespace Conveyor.Services.Pricing;
public static class Extensions
{
public static IConveyBuilder AddServices(this IConveyBuilder builder)
{
builder.AddCertificateAuthentication();
return builder;
}
} |
/*
* 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvalonDock.Layout;
namespace AvalonDock.MVVMTestApp
{
class LayoutInitializer : ILayoutUpdateStrategy
{
public bool BeforeInsertAnchorable(LayoutRoot layout, LayoutAnchorable anchorableToShow, ILayoutContainer ... |
[assembly: Xamarin.Forms.ExportRenderer(
typeof(Sales.Views.LoginInstagramPage),
typeof(Sales.Droid.Implementations.LoginInstagramPageRenderer))]
namespace Sales.Droid.Implementations
{
using System;
using System.Threading.Tasks;
using Android.App;
using Common.Models;
using Services;
... |
@{
ViewData["Title"] = "Super Powers!";
var isAdmin = User.IsInRole(Roles.Administrator.ToString());
}
@section Styles {
<environment include="Development">
<link rel="stylesheet" href="~/css/memberpowers.css" />
</environment>
<environment exclude="Development">
<link rel="stylesh... |
namespace EquineExchange.ImageHosting
{
public static class ImageResizerSettings
{
public static string License { get; } = AppSettings.ImageResizer();
}
} |
using Windows.UI.Xaml.Navigation;
namespace Param_ItemNamespace.Views
{
public sealed partial class wts.ItemNamePage : Page, INotifyPropertyChanged
{
public wts.ItemNamePage()
{
}
//{[{
protected async override void OnNavigatedTo(NavigationEventArgs e)
{
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose" file="DeleteBorderOnlineRequest.cs">
// Copyright (c) 2021 Aspose.Words for Cloud
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to an... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zergatul.Network.Tls.Messages
{
internal abstract class HandshakeBody
{
public HandshakeType Type { get; private set; }
public HandshakeBody(HandshakeType type)
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Interfa... |
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
using Android.App;
using Andro... |
using System.Text.Json.Serialization;
namespace ArgentPonyWarcraftClient
{
/// <summary>
/// An item.
/// </summary>
public record Item
{
/// <summary>
/// Gets links for the item.
/// </summary>
[JsonPropertyName("_links")]
public Links Links { get; init; }... |
/*
* 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
*
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Log.Abstractions;
using Log.Models;
using Microsoft.EntityFrameworkCore;
namespace Log.Infrastructure
{
public class EfRepository<TEntity, TKey> : IRepository<TEntity, TKey>
where TEntity : class
{
readonly LogsContext _contex... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace TestUI
{
internal class EnumDescriptionConverter : IValueConverter
{
... |
using UnityEditor;
using UnityEngine;
namespace Arugula.Extensions.Editor
{
[CustomPropertyDrawer(typeof(TagAttribute))]
public class TagAttributeDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
if (property.pro... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DirectOutputConfigTester
{
public partial class OpenConfigDialog : Form
{
private Settings Settings = new Se... |
// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information.
using ClangSharp.Interop;
namespace ClangSharp
{
public sealed class OMPTargetTeamsDistributeParallelForSimdDirective :... |
using UnityEngine;
using UnityEngine.UI;
public class PlayPause : MonoBehaviour
{
public Sprite Play;
public Sprite Pause;
public Image image;
public bool isPaused;
public void togglePlay()
{
if(!isPaused)
{
isPaused = true;
image.sprite = Play;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.regproperty.genclass.genclassregprop.genclassregprop;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conform... |
// ************************************************************************
//
// * Copyright 2017 OSIsoft, 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
// *
// * <http://www... |
// The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2020
//
// 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 r... |
@page
@model Bakdelar.Pages.CategoryModel
@{
ViewData["Title"] = Model.CategoryName;
}
<div class="d-flex flex-wrap justify-content-center">
@foreach (var product in Model.Products) // lägger till kort med varor på hemskärmen
{
<a href="/SingleProductView/@product.ProductId">
<div clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MapzenGo.Helpers;
using MapzenGo.Models.Enums;
using UnityEngine;
namespace MapzenGo.Models
{
[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class Water : MonoBehaviour
{
public string ... |
/*
*
* This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free ... |
using Mock;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.MapGet("/", () => "Hello World!");
app.UseJsonRoutes();
app.Run(); |
using FoxDb.Interfaces;
namespace FoxTunes.Interfaces
{
public interface IDatabaseTables : IBaseComponent
{
ITableConfig MetaDataItem { get; }
ITableConfig PlaylistItem { get; }
ITableConfig PlaylistColumn { get; }
ITableConfig LibraryRoot { get; }
ITableConfig Libr... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
namespace mshtml
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Pack=8)]
public struct _userHGLOBAL
{
publ... |
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace engenious.Graphics
{
/// <summary>
/// Attribute to mark a property to be compatible with a specific material type property.
/// </summary>
[AttributeUsage(Attribu... |
//------------------------------------------------------------------------------
// <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 PointOfSales.Core.Generator;
using PointOfSales.Core.Infraestructure;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PointOfSales.Core.Entities
{
public abstract class BaseE... |
// 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.KeywordHighlighting.KeywordHighlighters;
using Microsoft.CodeAnalysis.Test.Utilities... |
using System;
using Newtonsoft.Json;
using PactNet.Configuration.Json;
using PactNet.Mocks.MockHttpService;
using PactNet.Mocks.MockHttpService.Models;
using PactNet.Models;
namespace PactNet
{
public class PactBuilder : IPactBuilder
{
public string ConsumerName { get; private set; }
public st... |
using System.Linq;
namespace FixBase.Implementations.Interfaces
{
public interface IRepository<T>
{
IQueryable<T> LoadAll();
T LoadSingle(int modelId);
void Create(T model);
void Update(T model);
void Delete(T model);
}
} |
namespace Manga.Application.Boundaries.GetAccountDetails
{
using System;
public sealed class Input
{
public Guid AccountId { get; }
public Input(Guid accountId)
{
AccountId = accountId;
}
}
} |
using System.Web.Mvc;
namespace SFA.DAS.EmployerCommitments.Web.Plumbing.Mvc
{
public sealed class TrimStringModelBinder : IModelBinder
{
public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
{
ValueProviderResult valueResult = bindingCont... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using VsErrorHandler = Microsoft.VisualStudio.ErrorHandler;
using VsShell = Microsoft.VisualStudio.Shell.Interop;
namespace Microsoft.Data.Entity.Design.UI.Views.MappingDetails
{
us... |
// ----------------------------------------------------------------------------------------
// COPYRIGHT NOTICE
// ----------------------------------------------------------------------------------------
//
// The Source Code Store LLC
// ACTIVEGANTT SCHEDULER COMPONENT FOR C# - ActiveGant... |
namespace RadioButtonDemos;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
});
return builder.Build();
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using Dapper;
using NetBuild.Common;
using NetBuild.Queue.Core;
namespace NetBuild.Queue.Engine
{
public class TriggerStorage
{
private readonly string m_connectionString;
private readonly int m_co... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the GPL3 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://opensource.org/licenses/GPL-3.0.
//
// Software distrib... |
#region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2016 Ethan Lee and the MonoGame Team
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
/* Derived from code by the Mono.Xna Team (Copyright 2006).
* Released under the MIT License. See monoxna.LICEN... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Reactive.Disposables;
using System.Reactive.Subjects;
namespace Maze.Reactive
{
public sealed class MergeJoin<TOuter, TInner, TKey, TResult> : IObservable<TResult>
{
private readonly IObservable<TOuter> o... |
using System;
using System.Collections.Generic;
using System.Text;
using Sparrow.Extensions;
namespace Sparrow.Logging
{
public class LoggingFilter
{
private readonly Dictionary<LogEntryFields, List<Filter>> _rules =
new Dictionary<LogEntryFields, List<Filter>>();
public string Ad... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// koubei.advert.commission.channel.delete
/// </summary>
public class KoubeiAdvertCommissionChannelDeleteRequest : IAlipayRequest<KoubeiAdvertCo... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace MvcAppWithUsers.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextOptions<Applica... |
//------------------------------------------------------------------------------
// <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) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
{
/// <summary>
... |
// 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.Linq;
using System.Reflection;
namespace Microsoft.AspNet.WebHooks.Utilities
{
/// <s... |
// 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.Concurrent;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using Xunit;
using ... |
using RUF.Tutorial;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RUF
{
public class LaunchMovingDestruction : MonoBehaviour
{
public MovingDestroyer Destroyer;
private void OnTriggerEnter(Collider other)
{
if (other.CompareTag("P... |
using Lextm.SharpSnmpLib;
using Raven.Server.Documents;
namespace Raven.Server.Monitoring.Snmp.Objects.Database
{
public class DatabaseDocumentsStorageUsedSize : DatabaseScalarObjectBase<Gauge32>
{
public DatabaseDocumentsStorageUsedSize(string databaseName, DatabasesLandlord landlord, int index)
... |
using Microsoft.Azure.CognitiveServices.Vision.Face.Models;
namespace Detectify.Models
{
public class MultipleFacesDetected : DetectedFace
{
public string PredominantEmotion { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace eBiblioteka.Model.Requests
{
public class ClanUpdateRequest
{
[Required]
public string Ime { get; set; }
[Required]
public string Prezime { get; set; }
... |
// Copyright (c) Teroneko.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
namespace Teronis
{
public struct Valuable<T> : IValuable<T>, IYetNullable<T>
{
[MaybeNull]
public readonly T Value =>
... |
namespace SteamToolkit
{
public interface IUserInputOutputHandler
{
string GetInput(string question, string title);
void OutputMessage(string message);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SoftwareAcademy
{
public class LocalCourse : Course, ILocalCourse,ICourse
{
private string lab;
public LocalCourse(string name, ITeacher teacher, string lab)
: base(name, teacher)
... |
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace WInterop.Shell
{
/// <summary>
/// [PROPDESC_SORTDESCRIPTION]
/// </summary>
public enum PropertySortDescription
{
General... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.