text stringlengths 1 932k |
|---|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... |
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace CotcSdk {
/** @cond private */
[Serializable]
public class CotcSettings : ScriptableObject {
public const string AssetPath = "Assets/Resources/CotcSettings.asset";
public static CotcSettings Instance {
get {
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microso... |
using System.Collections.Generic;
namespace Sfa.Das.Sas.Indexer.Core.AssessmentOrgs.Models
{
public class AssessmentOrganisationsDTO
{
public List<Organisation> Organisations { get; set; }
public List<StandardOrganisationsData> StandardOrganisationsData { get; set; }
}
} |
using System;
using System.Linq;
using System.Collections.Generic;
using WorkflowCore.Exceptions;
using WorkflowCore.Interface;
using WorkflowCore.Models;
namespace WorkflowCore.Primitives
{
public class When : ContainerStepBody
{
public object ExpectedOutcome { get; set; }
public override Ex... |
// Copyright(c) 2016 Andrea Cervesato <sawk.ita@gmail.com>
// 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,
// cop... |
@model Lpp.Dns.Models.Sample.Models.PluginCallModel
@{ ViewBag.Title = "Show Response"; }
<h2>Response</h2> |
// <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 UiPath.Web.Client20181.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class LongVersione... |
using Xunit;
namespace Funcable.Control.Tests;
public class TaskOption_Flatten_Should
{
[Fact]
public async Task Extract_AsyncSome_When_T_Is_AsyncSome() =>
(await AsyncSome(AsyncSome(HelloWorld))
.Flatten()
.Match(s => s, () => HolaMundo))
.Should()
.Match<string>(s => s.Equals(HelloWorld));
[Fact]
... |
using System.Collections.Generic;
using Vlc.DotNet.Core.Interops;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed class VideoTracksManagement : ITracksManagement
{
private readonly VlcManager myManager;
private readonly VlcMediaPlayerInstance myMediaPlayer;... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Windows.Controls;
using System.Text;
using System.Threading.Tasks;
using SEIDR.Dynamics.Configurations;
using SEIDR.Dynamics;
using SEIDR.Dynamics.Windows;
using System.Xml.Serialization;
//usin... |
using CrudLocalDb.Database;
using CrudLocalDb.Models;
using System.Collections.Generic;
namespace CrudLocalDb.ViewModels
{
public class ItemDetailViewModel : BaseItemViewModel
{
#region Properties
public IEnumerable<Tag> Tags{ get; set; }
#endregion
#region Constructor
... |
using Jimu.Client.RemoteCaller;
using Jimu.Common;
using Jimu.Logger;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.DependencyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
us... |
/*
* Automatically converted from Java to C# using Sharpen.
*/
using System;
using Coral.Tests;
using Microsoft.Pex.Framework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Coral.Tests
{
[TestClass]
public partial class JPFBenchmark
{
public static string success = "success";
// sin(x)... |
using CoSales.Model;
using CoSales.Model.NodeType;
using CoSales.Model.PO;
using Dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoSales.DAL
{
public class ProductDAO
{
public static readonly ProductDAO DAO = new Pro... |
using System;
namespace DemoGui
{
partial class AuthForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using DragonSpark.Compose;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace DragonSpark.Composition.Compose;
sealed class Registrations<T> : Registrations
{
public Registrations(IServiceCollection services) : base(services, A.Type<T>()) {}
}
class Registrations : IRegistrations
{
readonly I... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
namespace GetText.Extractor.Template
{
internal class CatalogTemplate
{
internal static string Newline = Environment.NewLine;
... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Foundation;
using UIKit;
using Xamarin.Nuke;
namespace Xamarin.Forms.Nuke
{
[Preserve]
internal static class NukeHelper
{
public static void Init()
{
}
public static void ClearCac... |
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("Pl... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.marketing.card.template.modify
/// </summary>
public class AlipayMarketingCardTemplateModifyRequest : IAopRequest<AlipayMarketingCardTemplateModify... |
using System;
using System.Drawing;
using UIKit;
using Foundation;
using CoreGraphics;
namespace Sample
{
public partial class SideMenuController : BaseController
{
// the sidebar controller for the app
SidebarNavigation.SidebarController _sidebarController;
public SideMenuController() : base(null, null)
{... |
using System;
using System.IO;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Event;
using Ionic.Zip;
using JetBrains.Annotations;
using ServiceManager.ProjectDeployment.Build;
using ServiceManager.ProjectDeployment.Data;
using Tauron;
using Tauron.Akka;
using Tauron.Application.AkkaNode.Services.FileTrans... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.IO.Compression;
using System.Threading;
using System.Security.Cryptography;
namespace Charlotte.Commons
{
/// <summary>
/// 共通機能・便利機能はできるだけこのクラスに集約する。
/// </summary>
public static class SCommon
{
... |
using System;
using System.ComponentModel.Composition;
using System.Reactive.Linq;
using GitHub.Api;
using GitHub.Services;
using GitHub.VisualStudio.Base;
using GitHub.VisualStudio.Helpers;
using Microsoft.TeamFoundation.Controls;
using GitHub.UI;
using GitHub.VisualStudio.UI;
using GitHub.Models;
using GitHub.Primit... |
using System;
using System.Collections.Generic;
namespace Mh.Functions.AladinNewBookNotifier.Aladin.Models
{
public class ItemListResult : ResultBase
{
public class SubInfo
{
public IList<SubItem> paperBookList { get; set; }
public IList<SubItem> ebookList { get; set; }
... |
@{
ViewBag.Title = "Form";
Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
layui.use(['jquery', 'form', 'common', 'optimizeSelectOption'], function () {
var form = layui.form,
$ = layui.$,
common = layui.common;
var keyValue = $.request("keyValue");
//权限字段... |
/***************************************************************
* Copyright (C) 2013-2018 Hotinst CO.,Ltd
* All rights reserved
* 文 件 名: FormatCheck
* CLR 版本: 4.0.30319.42000
*
* 作 者: tanyu
* 创建时间: 2018/6/12 9:59:29
* 文件描述: 使用正则表达式判断字符串的格式是否满足数据要求:身份证、电话、邮件
*
******************************************************... |
#region License
/*
* Copyright 2002-2010 the original author or 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
*
* Unle... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace GroupService.Repo.Migrations
{
public partial class ChnageGroupEmailVariantToCommunicationJob : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "G... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace TestApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
namespace AspnetWebApi2Helpers.Sample.Web.Areas.HelpPage
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
/// </summary>
public class TextSample
{
public TextSample(string t... |
using System.Resources;
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.
[ass... |
using SaTeatar.Mobile.Models;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace SaTeatar.Mobile.ViewModels
{
[QueryProperty(nameof(ItemId), nameof(ItemId))]
public class ItemDetailViewModel : BaseViewModel
{
private string itemId;
private ... |
/*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha.core
*
*/
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNe... |
using System;
using NUnit.Framework;
namespace Test.CardTest.ResourceTest
{
public class ResourceCardSettingTest : IndexDataListTest<Resource, ResourceCardData>
{
private ResourceCardSetting _setting;
protected override IndexDataList<Resource, ResourceCardData> GetDataList()
{
return TestHelper.GetGameSet... |
using System;
using System.Linq;
using Microsoft.Extensions.Logging;
using WebExtensions.Net.Generator.Models;
using WebExtensions.Net.Generator.Models.Entities;
namespace WebExtensions.Net.Generator.EntitiesRegistration
{
public class NamespaceRegistrationFilter
{
private readonly ILogger logger;
... |
// 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.
//
// Microsoft Windows Client Platform
//
//
// Description: Specifies that the whitespace surrounding an element... |
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2013 Tasharen Entertainment
//----------------------------------------------
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// UI Creation Wizard
/// </summary>
public clas... |
@using OAuthApplication.Areas.HelpPage.ModelDescriptions
@model EnumTypeModelDescription
<p>Possible enumeration values:</p>
<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
</thead>
<tbody>
@foreach (EnumValueDescription value in Model.Value... |
// 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 ... |
/*----------------------------------------------------------------
* Copyright (c) ThoughtWorks, Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE.txt in the project root for license information.
*----------------------------------------------------------------*/
using System;
using System.C... |
namespace BlueSheep.Interface
{
partial class GestGroupe
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System.Threading.Tasks;
using SpotifyAPI.Web.Http;
using URLs = SpotifyAPI.Web.SpotifyUrls;
namespace SpotifyAPI.Web
{
public class AlbumsClient : APIClient, IAlbumsClient
{
public AlbumsClient(IAPIConnector apiConnector) : base(apiConnector) { }
public Task<FullAlbum> Get(string albumId)
{
... |
using System;
using System.Numerics;
using DirectX12GameEngine.Rendering;
using DirectX12GameEngine.Shaders;
using DirectX12GameEngine.Shaders.Numerics;
namespace DirectX12Game
{
[StaticResource]
public class ComputeColorWave : IColorShader
{
public void Accept(ShaderGeneratorContext context)
... |
namespace Weather.Data;
// Wind data
public class Wind
{
public DateTime TmStamp { get; set; }
public int RecNum { get; set; }
public string StationID { get; set; } = "";
public int Identifier { get; set; }
public float MaxWindSpd { get; set; }
public float MeanWindSpd { get; set; }
public ... |
using System;
using Daikin.DotNetLib.Data;
using Xunit;
namespace Daikin.DotNetLib.Core.Tests
{
public class BitTests
{
[Fact]
public void BitInt()
{
// 1 (binary) == 1 decimal
var test = Bit.IsBitSet(1, 1);
if (!test) throw new Exception("For number... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
us... |
using System;
namespace BenfordSet.Common
{
internal class Validation
{
internal object Object { get; private set; }
public event EventHandler? ObjectIsNull;
internal bool IsObjectNull(object obj)
{
Object = obj;
if (Object == null)
{
... |
@{
Layout = "_Layout";
}
@model HairSalon.Models.Stylist;
<h1>New Stylist</h1>
@using (Html.BeginForm(new { @class = ""}))
{
<div class="form-group">
@Html.LabelFor(model => model.Name)
@Html.TextBoxFor(model => model.Name, new { @class = "form-control", required="required"})
</div>
<div class="form-group... |
// ReSharper disable All
namespace OpenTl.Schema.Messages
{
using System;
using System.Collections;
using System.Text;
using OpenTl.Schema;
using OpenTl.Schema.Serialization.Attributes;
[Serialize(0x35e410a8)]
public sealed class TStickerSetInstallResultArchive : IStickerSetInstallResult
{
[Serializ... |
using EPlast.BLL.DTO.EventUser;
using EPlast.BLL.Interfaces.EventUser;
using EPlast.Resources;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using EPlast.DataAccess.Entities;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Http;
using System.Lin... |
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
namespace Flirsty.WebApi.Identity.MongoDB
{
public class ApplicationUserManager : UserManager<ApplicationUser>
{
public ApplicationUserManager(IUserStore<ApplicationUser> store)
: base(store)
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Msmaldi.AspNetCore.GuIdentity.EntityFrameworkCore
{
public class GuIdentityDbContext : GuIdentityDbContext<GuIdentityUser>
{
public GuIdentityDbContext(DbContextOptions options) : base(options)
... |
// -----------------------------------------------------------------------
// <copyright file="OfferCategory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.Partner.... |
namespace Gradebook.Web.Controllers
{
using Microsoft.AspNetCore.Mvc;
public class BaseController : Controller
{
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Upgrader.MySql;
namespace Upgrader.Test.MySql
{
[TestClass]
public class IndexInfoMySqlTest : IndexInfoTest
{
public IndexInfoMySqlTest() : base(new MySqlDatabase(AssemblyInitialize.MySqlConnectionString))
{
}
... |
using System;
using System.IO;
using Igtampe.BasicRender;
using Igtampe.BasicGraphics;
namespace Igtampe.BouncingBall {
class Program {
/// <summary>A 3x3 square-ish ball</summary>
public static readonly string[] squareball3x3 = { " F1F1 ",
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SQLServerGeneratorGUI
{
public partial class Form1 : Form
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Codeable.Foundation.Common.System;
using System.Diagnostics;
namespace Codeable.Foundation.Core.System
{
/// <summary>
/// Provides tracing for standard method calls (caller is being traced)
/// </summary>
[Deb... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Example
{
public class ScopeTest : MonoBehaviour
{
public Transform enemy;
public float dis;
public float minDistance;
public float minAngle;
public bool flag;
ScopeChecker... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Inedo.BuildMaster.Extensibility;
using Inedo.BuildMaster.Extensibility.Credentials;
using Inedo.BuildMaster.Web.Controls;
using Inedo.BuildMasterExtensions.TFS.Clients.Rest;
using Inedo.BuildMasterExtensions.TFS.Credentials;
name... |
using System;
using OpenQA.Selenium;
namespace TestWeb.AcceptanceTests.Pages
{
public static class HomePage
{
public static By CaseName(string caseName) => By.XPath($"//td[contains(text(),'{caseName}')]");
public static readonly By ManualAllocatedUsers = By.XPath($"//div[@class='govuk-grid-col... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
[StringEnum]
public enum EdgeNGra... |
using System;
using System.Threading.Tasks;
using ContosoUniversity.Models;
using ContosoUniversity.Pages.Students;
using Shouldly;
using Xunit;
namespace ContosoUniversity.IntegrationTests.Pages.Students;
[Collection(nameof(SliceFixture))]
public class CreateTests
{
private readonly SliceFixture _fixture;
... |
using System;
using System.IO;
using System.Windows.Forms;
namespace BoiteMailSMTP
{
public partial class serveurs : Form
{
public serveurs()
{
InitializeComponent();
}
private void serveurs_Load(object sender, EventArgs e)
{
lvServ... |
using gti.core.Models;
namespace gti.core.Interfaces
{
public interface IProcessManager
{
ProcessOutput RunProcess(string process, string arguments);
}
} |
using System;
using System.Reactive.Linq;
using NetDaemon.Common.Reactive;
using System.Threading;
using NetDaemon.Common;
using System.Threading.Tasks;
using NetDaemon.Common.Reactive.Services;
using System.Collections.Generic;
using NetDaemon.Generated.Reactive;
// Use unique namespaces for your apps if you going to... |
using System;
namespace LMS.Core.Domain
{
public interface IUserPing
{
string UserId { get; set; }
string ApplicationId { get; set; }
string PageId { get; set; }
string BrowserInfo { get; set; }
DateTime? UtcTimeStamp { get; set; }
bool IsValid { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using SteamKit2;
namespace SteamIrcBot
{
class PackageInfoCommand : Command<PackageInfoCommand.Request>
{
public class Request : BaseRequest
{
public JobID JobID { get; set; }
... |
namespace ProcessWorker.Web.Models
{
public class LoginModel
{
public string Username { get; set; }
public string Password { get; set; }
}
} |
// *** 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.AwsN... |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xDDFB20D9)]
public class STU_DDFB20D9 : STUConfigVarBoolBase {
}
} |
using Microsoft.Extensions.Localization;
using OrchardCore.ContentManagement.Metadata.Models;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.ContentTypes.Editors;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.Templates.ViewModels;
namespace OrchardCore.Templates.Settings
{
... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
namespace osu.Game.Screens.Edit.Scree... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
namespace UtyRx.Tests.Observable
{
[TestFixture]
public class ObservableTest
{
[Test]
public void ToArray()
{
var subject =... |
using System;
#if WISEJ
using Wisej.Web;
#else
using System.Windows.Forms;
#endif
using MvvmFx.CaliburnMicro;
using SimpleParameters.UI.ViewModels;
namespace SimpleParameters.UI.Views
{
public partial class ButtonParameterView : UserControl, IHaveDataContext
{
public ButtonParameterView()
{
... |
using Newtonsoft.Json;
using System;
using System.Management.Automation;
using System.Threading.Tasks;
using Koopman.CheckPoint.IA;
namespace psCheckPoint.IA
{
/// <IA cmd="add-identity">Add-CheckPointIdentity</IA>
/// <summary>
/// <para type="synopsis">Creates a new Identity Awareness association for a ... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class DropZone : MonoBehaviour, IDropHandler
{
public void OnDrop(PointerEventData pointerEventData)
{
Draggable d = pointerEventData.pointerDrag
.GetComponent<Draggable>();
if (d != null)
... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
using Sdl.Desktop.IntegrationApi.Interfaces;
using System.Collections.ObjectModel;
namespace Sdl.Notifications.Sample
{
internal class StudioTestNotificationsGroup : IStudioGroupNotification
{
private readonly ObservableCollection<IStudioNotification> _notifications;
public StudioTestNotifica... |
using System;
using PepperDash.Essentials.Core;
using PepperDash.Essentials.Core.Bridges.JoinMaps;
namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
{
public class ZoomRoomJoinMap : VideoCodecControllerJoinMap
{
#region Digital
[JoinName("CanSwapContentWithThumbnail")]
public JoinDataComplet... |
using System.Collections.Generic;
namespace Lithnet.ResourceManagement.Client
{
/// <summary>
/// Defines a collection of attribute and value pairs
/// </summary>
public class AttributeValuePairCollection: IEnumerable<AttributeValuePair>
{
/// <summary>
/// The internal list of val... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace BadRabbit.Carrot
{
public class ScramblerGun : GunBasic
{
public ScramblerGun()
{
SetFireModes(new ScramblerFireMode... |
namespace SentryOne.UnitTestGenerator
{
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.LanguageServices;
using Microsoft.VisualStudio.Threading;
using NuGet.VisualStudio;
using SentryOne.UnitTestGenerator.Core.Options;
public interface IUnitTestGeneratorPackage : ... |
// 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.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.EntityFrameworkCore.ChangeTracking... |
using System.Xml.Serialization;
using UnityModManagerNet;
namespace SmarterUnpause
{
public class Settings : UnityModManager.ModSettings, IDrawable
{
[Draw(Label = "The threshold in milliseconds after which autopauses can be disabled")]
public int Milliseconds = 500;
[XmlIgnore]
... |
using NUnit.Framework;
using Rant.IO.Bson;
using System.IO;
namespace Rant.Tests.Misc
{
[TestFixture]
public class Bson
{
private void CompareByteArrays(byte[] array1, byte[] array2)
{
for (var i = 0;
i < (array1.Length > array2.Length ? array2.Length : array1.L... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
using WebPerformanceCalculator.Attributes;
using WebPerformanceCalculator.DB;
using WebPerformanceCalculator.Services;
namespace WebPerformanceCalculator.Controllers
{
[Route("api/[controller]")]... |
namespace Cumulocity.SDK.Client.Rest.Representation.User
{
public class GroupReferenceRepresentation : BaseResourceRepresentation, IReferenceRepresentation
{
private GroupRepresentation group;
public virtual GroupRepresentation Group
{
get
{
return group;
}
set
{
this.group = value;
... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dataworks_public20200518.Models
{
public class ListFoldersRequest : TeaModel {
[NameInMap("ProjectId")]
[Validation(Required=false)]
... |
using System;
namespace SimpleCalculator
{
class Program
{
static void Main(string[] args)
{
try
{
InputConverter inputConverter = new InputConverter();
CalculatorEngine calculatorEngine = new CalculatorEngine();
Console.... |
using System;
namespace StudentSystem.WebApi.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using NetModular.Lib.Module.Abstractions;
using NetModular.Lib.Utils.Core.Result;
using NetModular.Module.Admin.Domain.Menu;
using NetModular.Module.Admin.Domain.ModuleInfo;
using NetModular.Module.Admin.Domain.ModuleInfo.Models;
using NetModular.Module.Ad... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CharDCMoveMessage.cs" company="SmokeLounge">
// Copyright © 2013 SmokeLounge.
// This program is free software. It comes without any warranty, to
// the extent permitted by ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace RiveScript.Tests.RSTS
{
[TestClass]
public class BotVariablesTest
{
[TestMethod]
public void RSTS_BotVariables__bot_variables()
{
var rs = TestHelper.getEmptyStreamed(new[] { ... |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 02.04.2019.
using System;
using System.Diagnostics;
using System.Reflection;
using System.Linq.Expressions;
using structure_lib=lcpi... |
// 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 Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Extensio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.