text stringlengths 1 932k |
|---|
using SharpX.CodeGen.ShaderLab.Attributes;
namespace SharpX.Library.ShaderLab.Primitives
{
[Primitive("bool3", typeof(bool), "3")]
public sealed partial class SlBool3 { }
} |
#pragma checksum "C:\Users\tom\Documents\GitHub\bible-knowledge-game\BKGLevelGenerator\levelEditor\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "813781fa7a0c98ab3ec865890e458430f2eeb8c6"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft... |
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using System;
using System.Text.RegularExpressions;
namespace RESTworld.AspNetCore.Controller
{
/// <summary>
/// Used to set the controller name for routing purposes.Without this convention the
/// names would be like 'CrudControllerBase`6[Widget]' instea... |
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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using AzNginx.Common.Exceptions;
namespace AzNginx.Models
{
/// ResourceName should be suitable as a hostname/DNS fragment and
/// contain only ascii lower... |
using System;
using System.Linq;
using Moq;
using Shouldly;
using Stryker.Core.Baseline.Providers;
using Stryker.Core.Options;
using Stryker.Core.Reporters;
using Stryker.Core.Reporters.Html;
using Stryker.Core.Reporters.Json;
using Stryker.Core.Reporters.Progress;
using Xunit;
namespace Stryker.Core.UnitTest.Reporter... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IoTSharp.Data
{
public class AuditLog
{
public Guid Id { get; set; } = Guid.NewGuid();
public Tenant Tenant { get; set; }
public Customer Customer { get; set; }
public st... |
#region License
/*
Copyright © 2014-2022 European Support Limited
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 a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace ChatLib
{
public class Poll
{
public const string OptionsToken = "{options}";
public const string WinnerCountToken = "{winTotal}";
public const string TotalVotesToken... |
using System;
using System.ComponentModel.DataAnnotations;
using WoofMe.Classes;
namespace WoofMe.Models.DogModels
{
public class PartialDogInfoModel
{
[Required]
public Guid Id { get; set; }
[Required]
public string Picture { get; set; }
[Required]
[Display(Nam... |
#region License
/*
Copyright © 2014-2021 European Support Limited
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 a... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 02.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models.ThirdParty
{
/// <summary>
/// <para>表示 [GET] /v2/bot/get_detail 接口的请求。</para>
/// </summary>
public class BotGetDetailRequest : WechatOpenAIThirdPartyRequest
{
}
} |
using System;
using System.Collections.Generic;
using System.IO;
namespace BfInterpreter
{
//Optimization01: 1:05
class Optimization01 : IBfInterpreter
{
public void Run(FileStream source)
{
var pointer = 0;
var memory = new byte[1024 * 1024];
var cr = n... |
namespace SaaSEqt.IdentityAccess.Domain.Model.Access.Events
{
using System;
using SaaSEqt.Common.Domain.Model;
using SaaSEqt.IdentityAccess.Domain.Model.Access.Entities;
using SaaSEqt.IdentityAccess.Domain.Model.Identity.Entities;
public class GroupAssignedToRole : IDomainEvent
{
publ... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
using System;
using System.Collections.Generic;
using System.Data;
using Hangfire.Logging;
using System.Linq;
using System.Text;
using Hangfire.Annotations;
using Hangfire.Server;
using Hangfire.Storage.EntityFramework.JobQueue;
using Hangfire.Storage.EntityFramework.Locking;
using Hangfire.Storage.EntityFramework.Mon... |
@model PowerLines.Models.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Enter your email.</h4>
<hr />... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICU... |
using System;
namespace Surging.Cloud.Domain.Entities.Auditing
{
[Serializable]
public abstract class FullAuditedAndOrgEntity : FullAuditedEntity, IOrgAudited
{
public long? OrgId { get; set; }
}
[Serializable]
public abstract class FullAuditedAndOrgEntity<TPrimaryKey> : FullAuditedEn... |
// <copyright file="StatsRecorderTest.cs" company="OpenTelemetry Authors">
// Copyright 2018, OpenTelemetry 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.a... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder.Embedded v9.0.0-beta004+c41d05f6a67e1d217d565d055a85231792520f88
//
// Changes to this file will be lost if the code is regenerated.
// </auto-gen... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
// *****************************************************************************
// 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 System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml... |
using IdentityFramework.Iam.Core;
using IdentityFramework.Iam.Core.Interface;
using IdentityFramework.Iam.TestServer.Iam;
using IdentityFramework.Iam.TestServer.Jwt;
using IdentityFramework.Iam.TestServer.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identit... |
namespace Exchange.Models;
public enum TradeSide
{
None = 0,
Buy = 1,
Sell = 2
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoadLevelButton : MonoBehaviour
{
public void GMLoadScene(string sceneName)
{
GameManager.instance.LoadScene(sceneName);
}
public void QuitGame()
{
Application.Quit();
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Drawing;
using System.Security.Permissions;
using System.Threading;
using System.Windows.Forms;
using System.Collections;
using Aga.Controls.Tree.NodeControls;
using Aga.Controls.Threading;
... |
using PayPalHttp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
namespace PayPalCheckoutSdk.Subscriptions
{
public class GetSubscriptionRequest : HttpRequest
{
public GetSubscriptionRequest(string OrderId) : base("/v1/billing/subscriptions/{... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using ESRI.ArcGIS.ADF;
using ESRI.ArcGIS.ADF.BaseClasses;
using ESRI.ArcGIS.Geodatabase.Internal;
using ESRI.ArcGIS.GeoDatabaseDistri... |
namespace Canvas_Cropping.Areas.HelpPage
{
/// <summary>
/// Indicates whether the sample is used for request or response
/// </summary>
public enum SampleDirection
{
Request = 0,
Response
}
} |
using GMLoaded.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
namespace GMLoaded.Native
{
#warning Unknown if this is Win32 Specific or even just Win* Specific
public struct NativeClassHierarchyDesc... |
//
// UtilityTests.cs
//
// Author:
// Thomas H. Jonell <@Net_Gnome>
//
// Copyright (c) 2014 Thomas H. Jonell
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either ve... |
using System;
using UnityEngine;
namespace Playcraft
{
[Serializable]
public class MinMaxFloatTracker
{
public Vector2 range;
public float max => range.y;
public float min => range.x;
float _value;
public float value
{
get => _va... |
// <auto-generated>
// ReSharper disable All
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Tester.Integration.EfCore2
{
// UserFacilityServiceRole
public class App_UserFacilityServiceRole
{
public int UserId { get; set; } // userId ... |
/*
* Copyright © 2016 - 2021 EDDiscovery development team
*
* 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MFramework.ServiceLocator {
/// <summary>
/// 模块工厂接口
/// </summary>
public interface IModuleFactory {
object CreateModule(ModuleSearchKeys keys);
object CreateAllModules();
}
} |
@model SvetulkaApp.Web.ViewModels.Settings.SettingsListViewModel
@{
this.ViewData["Title"] = "Settings";
}
<h1>@this.ViewData["Title"]</h1>
@foreach (var setting in this.Model.Settings)
{
<div>@setting.Id: @setting.NameAndValue</div>
}
<a asp-action="InsertSetting" class="btn btn-primary">Insert new</a> |
using Autofac;
using Autofac.Integration.Mvc;
using Autofac.Integration.SignalR;
using Autofac.Integration.WebApi;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Infrastructure;
using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
usi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class TravelReview
{
public int ReviewId { get; set; }
public String UserId { get; set; }
public DateTime DatetimeFrom { get; set; }
public DateTime DatetimeUntil { get; set; }
p... |
/*
* 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 Octopus.Client.Extensibility.Attributes;
namespace Octopus.Client.Model.Endpoints
{
public class KubernetesEndpointResource : EndpointResource
{
public override CommunicationStyle CommunicationStyle => CommunicationStyle.Kubernetes;
[Trim]
[Writeable]
public string Clust... |
using System;
using System.IO;
namespace NAudio.SoundFont
{
/// <summary>
/// Represents a SoundFont
/// </summary>
public class SoundFont
{
private InfoChunk info;
private PresetsChunk presetsChunk;
private SampleDataChunk sampleData;
#if !NETFX_CORE
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Box : Character {
private int rand;
private Life life;
private Coin coin;
private void Awake()
{
life = Resources.Load<Life>("Life");
coin = Resources.Load<Coin>("Coin");
}
public override void damage()
{
Vect... |
using System;
using System.Text.RegularExpressions;
namespace CSLabs.Api.Util
{
public class ShareLinkConverter
{
public static string ConvertUrl(string url)
{
if (url.Contains("1drv.ms"))
return ConvertOneDrive(url);
if (url.Contains("drive.google.com/fi... |
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for gerado ... |
using System;
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
using System.Windows.Controls;
namespace StrictXAML
{
[SuppressMessage("ReSharper", "UnusedMember.Global")]
public class StrictComboBox : ComboBox
{
private bool _userInitiated;
... |
namespace InfluxDB.Net.Models
{
public class ShardSpace
{
public string Name { get; set; }
public string Database { get; set; }
public string RetentionPolicy { get; set; }
public string ShardDuration { get; set; }
public string Regex { get; set; }
public int Repli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3ShortWordsSorted
{
class ShortWordsSorted
{
static void Main(string[] args)
{
var words = Console.ReadLine()
//.ToLower()
... |
namespace Appalachia.Audio.Contextual.Context
{
public enum TimeOfDay_AudioContexts : short
{
Dawn = 0,
Morning = 10,
Afternoon = 20,
Evening = 30,
Dusk = 40,
Night = 50
}
} |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Domain
{
/// <summary>
/// AlipayUserAntpaasTokenCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayUserAntpaasTokenCreateModel : AopObject
{
/// <summary>
/// 账户绑定手机号
/// </s... |
using UnityEngine;
using UnityEngine.Events;
using System.Linq;
public class KeyPressEvent : MonoBehaviour
{
public KeyCode[] keys;
public UnityEvent callback;
void Update()
{
if (keys.Any(k => Input.GetKeyDown(k)))
callback.Invoke();
}
} |
namespace s2industries.ZUGFeRD
{
public class BuyerOrderReferencedDocument : BaseReferencedDocument
{
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... |
@*@model IEnumerable<shippingDTO>*@
@{
Layout = null;
//int i = (int)(ViewData["index"] ?? 0);
}
<div data-bind="foreach: $root.dispatchs(), css: { overlayTable: $root.loadingState(), display: 'inline-block'}">
<div class="panel panel-default col-lg-12"
data-bind="attr: {id: 'myPanel' + $index()}... |
namespace Sisu_Nipunatha
{
partial class ViewDahamPasalList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using Agribusiness.Core.Domain;
using Agribusiness.Core.Repositories;
namespace Agribusiness.Web.Models
{
public class FileViewModel
{
public int SeminarId { get; set; }
public File File { get; set; }
public static FileViewModel Create(IRepositoryFactory repositoryFactory, int seminarI... |
using System;
using System.Reflection;
using System.Resources;
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("So... |
@model WebApp.Models.EventDetailsViewModel
@{
ViewData["Title"] = "Details";
}
<h1>Detalii</h1>
<div>
<h4>@Html.DisplayFor(model => model.Title)</h4>
<hr />
<dl class="row">
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.Title)
</dt>
<dd class="col-sm-1... |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(ObjectBuilderScript))]
public class ObjectBuilderEditor : Editor{
private Texture iconStar;
private Texture iconHeart;
private Texture iconKey;
private GameObject prefabHeart;
private GameObject prefabStar;
private GameObject prefabKey;
void OnEnab... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using WebshopApp.Models;
using WebshopApp.Services.DataServices.Contracts;
using Websho... |
/* Copyright 2010-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
namespace CodeGeneratorDemo.ReflectionDemo.Core
{
public interface ISpeaker
{
string SayHello();
}
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Protos.proto
#region Designer generated code
using System;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Core;
namespace Messages {
public static class HelloGrain
{
static readonly string __ServiceName = "messages.HelloG... |
using System;
namespace BeerMath
{
public static class StandardBitterness
{
private const decimal MagicNumber = 7.25m;
public static Ibu CalculateIbus(AlphaAcid rating, Ounce hops, TimeSpan boilTime)
{
return new Ibu(
(rating.Value * hops.Value * StandardUti... |
/*
* 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;
#nullable disable
namespace NoPony.CarClub.Api.EF
{
public partial class PostTag
{
public int Id { get; set; }
}
} |
namespace hurkle
{
internal class GamePoint
{
public int X {get;init;}
public int Y {get;init;}
public CardinalDirection GetDirectionTo(GamePoint target)
{
if(X == target.X)
{
if(Y > target.Y)
{
retur... |
using System;
namespace Dime.Scheduler.Sdk.Import
{
internal static class BooleanExtensions
{
internal static int ToBit(this bool booleanParam) => booleanParam ? 1 : 0;
}
} |
using ApplicationCore.Enums;
namespace ApplicationCore.ViewModels
{
public class CarViewModel
{
public int? Id { get; set; }
public string Model { get; set; }
public int MakeId { get; set; }
public string MakeName { get; set; }
public int DoorQty { get; set; }
p... |
/*
* SFSkeleton is a resource providing with skin transformation bone data
* It contains bone tree and constructs base and inverted matrices from given file
* It also contains helper method for applying parent transformations to given matrices
*/
using System;
using System.IO;
using System.Collections.Generic;
us... |
using System;
using System.Management.Automation;
using System.Text.Json;
using Microsoft.SharePoint.Client;
using PnP.Framework.Provisioning.Model;
using PnP.Framework.Utilities;
namespace PnP.PowerShell.Commands.Branding
{
[Cmdlet(VerbsCommon.Set, "Theme")]
public class SetTheme : ... |
using AtCoderBeginnerContest123.Questions;
using AtCoderBeginnerContest123.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace AtCoderBeginnerContest123.Questions
{
public class QuestionF : AtCoderQuestionBase
{
public override I... |
using Microsoft.Extensions.Configuration;
using wimm.Secundatives;
namespace Peer.Domain.Configuration
{
public interface IRegistrationHandler
{
string ProviderKey { get; }
Result<None, RegistrationError> Register(IConfigurationSection config);
}
} |
using Assets.Scripts.Environment.Planet;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoalAchieved : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
/*if(PlanetDatalayer.... |
using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.I18N.Countries;
namespace Cosmos.Business.Extensions.Holiday.Definitions.Europe.Switzerland.Public
{
/// <summary>
/// Swiss National Day<br />
/// de: Bundesfeiertag
/// fr: Fête nationnale
/// it: Giorno festivo federale
/// </summar... |
using System.Collections.Generic;
using UnityEngine.Perception.Randomization.Randomizers;
namespace UnityEngine.Perception.GroundTruth
{
/// <summary>
/// Manages the registration of <see cref="Labeling"/> components
/// </summary>
[DefaultExecutionOrder(1)]
public class LabelManager
{
... |
#region Copyright
/*Copyright (c) 2015, Katascope
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and th... |
namespace BalaReva.PowerPoint.Design
{
using System.Activities;
using System.Activities.Presentation;
using System.Activities.Presentation.Model;
using System.Windows;
using System.Windows.Forms;
/// <summary>
/// Interaction logic for InsertPictureDesign.xaml
/// </summary>
public... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using WorkScheduler.API.Dtos;
using WorkScheduler.API.Helpers;
using WorkScheduler.API.Models;
namespace WorkScheduler.API.Data
{
public ... |
@model IEnumerable<Architecture.Application.Products.Queries.GetProductsList.ProductModel>
@{
ViewBag.Title = "Products";
}
<h2>Products</h2>
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Price</th>
</tr>
</thead>
<t... |
namespace NetArchTest.Rules.UnitTests
{
using System;
using System.Linq;
using System.Reflection;
using NetArchTest.Rules.Extensions;
using NetArchTest.TestStructure.Abstract;
using Xunit;
public class FunctionSequenceTests
{
[Fact(DisplayName = "Setting the Selected flag to fa... |
// 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 Newtonsoft.Json;
namespace Microsoft.AspNet.WebHooks
{
/// <summary>
/// An <see cref="IWebHookHandler"/> can post back a... |
using System;
using System.Collections.Generic;
class MainClass {
public static void Main (string[] args) {
Action<object> print = Console.WriteLine;
int[][] image = new int[][] {
new int[] {0, 0, 0, 0, 0, 0, 0},
new int[] {0, 0, 1, 1, 1, 0, 0},
new int[] {0, 0, 1, 0, 1, 0, 0},
n... |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... |
using System.Collections.Generic;
using System.Linq;
namespace OrbitalShell.Component.Shell.Module.Data
{
public class ModuleList
{
public List<ModuleReference> Modules
= new List<ModuleReference>();
public void Merge(ModuleList modList)
{
foreach ( var mod... |
using System;
using Http.token;
using JetBrains.Annotations;
using Txt.ABNF;
using Txt.Core;
namespace Http.protocol_name
{
public sealed class ProtocolNameLexerFactory : RuleLexerFactory<ProtocolName>
{
static ProtocolNameLexerFactory()
{
Default = new ProtocolNameLexerFactory(tok... |
using OpenQA.Selenium;
namespace Wasp.Interfaces
{
public interface IHasBackingElement
{
IWebElement Tag { get; }
}
} |
using System;
using Xunit;
using lib;
using lib.HTTPObjects;
using static lib.HTTPObjects.HTTP2Frame;
using static lib.Bytes;
using lib.Frames;
namespace UnitTest
{
public class HTTP2FrameTest
{
[Fact]
public void TestAddSettingsPayload()
{
var frame = new HTTP2Frame(8);
... |
/*
* 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 System;
using System.Collections.Generic;
using System.Xml.Linq;
using System.Xml.Schema;
using LinqToEdmx.Model.StorageV2;
using Xml.Schema.Linq;
namespace LinqToEdmx.MapV2
{
/// <summary>
/// <para>
/// Regular expression: ((ScalarProperty? | ComplexProperty?)+)
/// </para>
/// </summary>
public c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace alexbegh.vMerge.Constants
{
public static class Settings
{
public const string ChangesetColumnSettingsKey = "ChangesetsView";
public const string WorkItemColumnSettings... |
using Aura.UI.Data;
using Avalonia.Media;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace NavigationViewMVVMSample.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private ObservableCollection<INavigatio... |
using System;
using System.Collections.Generic;
using MapsterMapper;
namespace Mapster
{
public static class TypeAdapterExtensions
{
internal static U GetValueOrDefault<T, U>(this IDictionary<T, U> dict, T key)
{
return dict.TryGetValue(key, out var value) ? value : default;
... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CodeGeneration.Roslyn;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.IO;
using System.Coll... |
// Copyright (c) 2017 Augie R. Maddox, Guavaman Enterprises. All rights reserved.
using UnityEngine;
namespace Rewired.Demos
{
[AddComponentMenu("")]
[RequireComponent(typeof(CharacterController))]
public class PressAnyButtonToJoinExample_GamePlayer : MonoBehaviour
{
public int playerId = 0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ASPNET_Core_1_0.Models.ManageViewModels
{
public class FactorViewModel
{
public string Purpose { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Requestrr.WebApi.Requestrr.Movies;
namespace Requestrr.WebApi.Requestrr.Downl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml.Controls;
using UIKit;
using WebKit;
#if HAS_UNO_WINUI
using Microsoft.UI.Input;
#else
using Windows.UI.Input;
using Windows.Devices.Input;
#endif
namespace Windows.UI.Xaml
{
/// <summary>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.