text stringlengths 1 932k |
|---|
// <copyright file="GetGeoObjectResponse.cs" company="Mindfor">
// Copyright (c) 2015-2012, George Evstigneev All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
// * Redistribu... |
namespace RightpointLabs.Pourcast.Application.Transactions
{
using System.Transactions;
using Microsoft.Practices.Unity.InterceptionExtension;
public class TransactionalCallHandler : ICallHandler
{
public IMethodReturn Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext)
{
... |
@{ ViewData["Title"] = "Aulas Teóricas"; }
<partial name="_Card" /> |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using ReactiveUI;
using Xamarin.Forms;
namespace ReactiveUI.XamForms
{
public class ReactiveMa... |
using Hagar.Invocation;
using System;
using System.Threading.Tasks;
namespace CallLog
{
public class WorkflowAction
{
public static ValueTask<DateTime> GetUtcNow() => WorkflowAction.Record(() => DateTime.UtcNow);
public static async ValueTask Delay(TimeSpan duration)
{
var... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AudioManager : MonoBehaviour
{
public static AudioManager instance = null; // singleton AudioManager
// music clips (looping background music)
public AudioClip menu;
public AudioClip inGame;
public AudioCl... |
/*
* 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.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.Behaviors
{
public abstract class AnimationBase : BindableObject
{
public static readonly BindableProperty DurationProperty =
BindableProperty.Create(nameof(Duration), typeof(uint), typeof(AnimationBase), default(uint),
B... |
using Microsoft.EntityFrameworkCore;
using ProEventos.API.Models;
namespace ProEventos.API.Data
{
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options) : base(options)
{
}
public DbSet<Evento> Eventos { get; set; }
}
} |
using Confluent.Kafka;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Utilities.Types;
using Utilities;
using Utilities.Extensions;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.Reflection;
using Microsoft.Extensions... |
// Java Genetic Algorithm Library.
// Copyright (c) 2017 Franz Wilhelmstötter
//
// 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;
class Client
{
static int Main (string [] args)
{
int res = 0;/*c6632437-1cac-45db-ac15-0ca13cf02aa1*/
foreach (string s in args) {
res += Convert.ToInt32 (s);
}
return res;
}
} |
using System;
using System.Collections.Generic;
using DbUp.Reboot.Engine;
using DbUp.Reboot.Engine.Output;
using DbUp.Reboot.Engine.Transactions;
using DbUp.Reboot.Support;
using Microsoft.Data.Sqlite;
namespace DbUp.Reboot.SQLite
{
/// <summary>
/// An implementation of <see cref="ScriptExecutor"/> that exec... |
/*
* LUSID API
*
*
* The version of the OpenAPI document: 0.11.2321
* Contact: info@finbourne.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using Syste... |
//Copyright 2016 Malooba Ltd
//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 writing, so... |
using _01.DemoApp._00_Apresentacao.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.DemoApp._00_Apresentacao.Implementacao.Comandos
{
public class FazerNadaComando : IComando
{
public void Executar()
{... |
using System.Threading.Tasks;
using DevOps.Portal.Domain.Teamcity;
namespace DevOps.Portal.Application.Teamcity.Commands.CreateBuild
{
public interface ICreateBuildCommand
{
Task<Build> ExecuteAsync(string name);
}
} |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace XFAnimationDemo
{
public partial class TimePickerDemo : ContentPage
{
public TimePickerDemo()
{
InitializeComponent();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Silky.Core.Exceptions;
using Silky.Core.Extensions;
namespace Silky.Rpc.Runtime.Server
{
public class ParameterDescriptor
{
public ParameterDescriptor(ParameterFrom @from, ParameterInfo parameterInfo, str... |
#pragma checksum "D:\MERT\Coding\.NET CORE\BlogPanel\BlogPanel\CoreDemo\Areas\Admin\Views\Widget\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6c05268689a5026d303c8642433a8870d8557f70"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttr... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using OmniSharp.Extensions.LanguageServer.Protocol;
namespace Microsoft.AspNetCore.Razor.LanguageServer.CodeActions.Models
{
internal sealed class AddUsingsCodeAc... |
using Newtonsoft.Json;
namespace Kucoin.Net.Objects.Models.Spot
{
/// <summary>
/// New order id
/// </summary>
public class KucoinNewMarginOrder : KucoinNewOrder
{
/// <summary>
/// Borrow quantity
/// </summary>
[JsonProperty("borrowSize")]
public decimal ... |
using Blog.Core.Articles.Model;
using Blog.Core.Categorys.Model;
using Blog.Core.Relationship;
using Blog.Core.Tags.Model;
using Blog.Core.Users.Model;
using Blog.Threading;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Blog.Core
{... |
// The MIT License (MIT)
// Copyright 2015 Siney/Pangweiwei siney@yeah.net
//
// 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... |
//
// ListenersBrowserViewModel.cs
//
// Author:
// Sandy Chuang
//
// Copyright © 2020 Couchbase Inc. All rights reserved.
//
using P2PListSync.Models;
using P2PListSync.P2P;
using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
usin... |
using System;
namespace Middlink.Core
{
public interface ICorrelationContext
{
Guid Id { get; }
string UserId { get; }
Guid ResourceId { get; }
string TraceId { get; }
string ConnectionId { get; }
string Name { get; }
string Origin { get; }
strin... |
// This file is part of the ArmoniK project
//
// Copyright (C) ANEO, 2021-2022.
// W. Kirschenmann <wkirschenmann@aneo.fr>
// J. Gurhem <jgurhem@aneo.fr>
// D. Dubuc <ddubuc@aneo.fr>
// L. Ziane Khodja <lzianekhodja@aneo.fr>
// F. Lemaitre <flemaitre@aneo.fr>
// S. Djebbar ... |
/*
* 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... |
/*
* Copyright (c) 2007-2008, openmetaverse.org
* All rights reserved.
*
* - Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice, this
* li... |
using System;
using System.IO;
using UnityEngine.Assertions;
#if UNITY_EDITOR
using UnityEditor;
using System.Reflection;
#endif
namespace UnityEngine.Rendering
{
#if UNITY_EDITOR
/// <summary>
/// The resources that need to be reloaded in Editor can live in Runtime.
/// The reload call should only be done... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace _14._Areas___Lab.Models.AccountViewModels
{
public class LoginWith2faViewModel
{
[Required]
[StringLength(7, ErrorMessage = "The {0} must be a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClosedXML.Excel;
using System.Xml.Serialization;
using System.IO;
namespace XDB
{
class XMLDB
{
public TEXTDB db_text = new TEXTDB();
public XMLDB(string filename)
... |
// 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;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace KFrame.Sources
{
/// <summary>
/// Class KvSourceRedis.
/// Implements the <see cref="KFrame.Sources.KvSourceAbstract" />
/// </summary>
/// <seealso cref="KFrame.Sources.KvSourceAbstract" />... |
/*
* 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;
namespace SharpCrop.Provider.Utils
{
/// <summary>
/// MIME type lookup class. Copied from Stack Overflow.
/// </summary>
public static class MimeLookup
{
private static IDictionary<string, string> mappings = new Dictionary<string, string>(St... |
//
// DO NOT MODIFY! THIS IS AUTOGENERATED FILE!
//
namespace Xilium.CefGlue.Interop
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Security;
[StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)]
[SuppressMessage("Microsoft.De... |
using System;
namespace Barista.Contracts.Events.SaleStateChange
{
public interface ISaleStateChangeUpdated : IEvent
{
Guid Id { get; }
DateTimeOffset Created { get; }
string Reason { get; }
string State { get; }
Guid? CausedByPointOfSaleId { get; }
Guid? Caused... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using TinyTCPServer.ClientProcess;
using AhemfekServer.Model;
using AhemfekServer.Storage.ClientUser;
namespace AhemfekServer.Server
{
public class AhemClient
{
public readonly ClientSocket ClientSocket;
public User Us... |
namespace HireAProfessional.Web.Areas.Administration.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HireAProfessional.Common;
using HireAProfessional.Services.Data;
using HireAProfessional.Web.ViewModels.ApplicationUsers... |
// Copyright (c) 2007 James Newton-King. All rights reserved.
// Use of this source code is governed by The MIT License,
// as found in the license.md file.
namespace TestObjects;
public class IgnoredPropertiesTestClass
{
[JsonIgnore]
public Version IgnoredProperty { get; set; }
[JsonIgnore]
public L... |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... |
//
// Encog(tm) Core v3.1 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2012 Heaton Research, 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
//
// htt... |
// 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.Diagnostics;
using System.Globalization;
using System.Text;
using Microsoft.Data.Sqlite.Properties;
using static SQLitePCL.raw;
namespace Microsoft.Data.S... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Specialized;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Web.Infrastructure.DynamicValidationHelper;
namespace System.Web.Helpers
{
public static class Val... |
using System;
using System.Collections.Generic;
using System.Text;
using Google.Cloud.Translation.V2;
using System.Threading.Tasks;
namespace SapereKindle
{
public class GoogleProvider
{
public async Task<string> TranslateTextAsync(string text, string fromLang, string toLang)
{
Tra... |
using System;
using System.Collections.Immutable;
using ErrorProne.NET.Core;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;
namespace ErrorProne.NET.StructAnalyzers
{
/// <summary>
/// An analyzer that warns when non-ref-readonly struct is passed u... |
//
// System.Net.Configuration.DefaultProxySection.cs
//
// Authors:
// Tim Coleman (tim@timcoleman.com)
// Chris Toshok (toshok@ximian.com)
//
// Copyright (C) Tim Coleman, 2004
// (C) 2004,2005 Novell, Inc. (http://www.novell.com)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tacovela.MVC.Models.Common
{
public class FilterViewModel<T> : BaseFilterViewModel
{
public T Filter { get; set; }
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.239
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
namespace GatheringStorm.Api.Models.DB.Effects
{
public class DestroyEffectParameters : TargetingEffectParameters
{
}
} |
using System.ComponentModel.DataAnnotations;
using TeachMeSkills.Common.Constants;
namespace TeachMeSkills.Web.ViewModels
{
/// <summary>
/// Login view model.
/// </summary>
public class LoginViewModel
{
/// <summary>
/// Username.
/// </summary>
[Required]
... |
using Xunit;
namespace Coupon.API.Tests
{
public class CouponControllerTests
{
[Fact]
public void Test1()
{
Assert.True(true);
}
}
} |
// Copyright 2009-2021 Josh Close
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/JoshClose/CsvHelper
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/msxml.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.C... |
/*
* 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;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Data;
using System.Windows.Forms;
namespace ScrollTestCntrls
{
public class FlickerFreePanel : Panel
{
public FlickerFreePanel()
{
this.SetStyle(ControlStyles.AllPaintingInW... |
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace VRage
{
[SuppressUnmanagedCodeSecurity]
internal class NativeMethods
{
public const int WaitObject0 = 0x0;
public const int WaitAbandoned = 0x80;
public const int WaitTimeout = 0x102;
publi... |
///////////////////////////////////////////////////////////////////////////////////
// Open 3D Model Viewer (open3mod) (v0.1)
// [SceneRendererModernGl.cs]
// (c) 2012-2013, Open3Mod Contributors
//
// Licensed under the terms and conditions of the 3-clause BSD license. See
// the LICENSE file in the root folder of the... |
using System;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.Azure.EventHubs;
using SpeedTestApi.Models;
namespace SpeedTestApi
{
public class SpeedTestEvents : ISpeedTestEvents, IDisposable
{
private readonly EventHubClient _client;
public SpeedTestEv... |
using System;
using System.Collections.Generic;
namespace JM.LinqFaster
{
public static partial class LinqFaster
{
// -------------------------- ARRAYS --------------------------------------------
/// <summary>
/// Combined Where and Select for optimal performance.
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Runtime.CompilerServices;
using Avalonia.Animation;
using Avalonia.Animation.Animators;
using Avalonia.Layout;
using BenchmarkDotNet.Attributes;
namespace Avalonia.Benchma... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipe... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Arbor.Build.Core.BuildVariables;
using Arbor.Build.Core.Tools.Git;
using Arbor.Defensive.Collections... |
/*
* SmartThings API
*
*
* The version of the OpenAPI document: 1.0-PREVIEW
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.... |
// The MIT License (MIT)
//
// Copyright (c) 2019 Henk-Jan Lebbink
//
// 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 us... |
using System;
using System.Xml.Serialization;
using System.Text;
using System.Xml;
using System.IO;
namespace DNNStuff.SQLViewPro
{
public class Serialization
{
#region XML Serialization Support
private static string UTF8ByteArrayToString(byte[] characters)
{
var encoding = new UTF8Encoding();
var... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EPiServer.DataAbstraction;
using EPiServer.PlugIn;
using EPiServer.Scheduler;
namespace Forte.EpiCommonUtils.Jobs
{
[ScheduledPlugIn(DisplayName = "Delete content types missing properties")]
public class DeleteMissingPr... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Microsoft.Azure.Devices.Shared;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Microsoft.Azu... |
namespace GrandChallange.Models
{
class SecondQueryInputModel
{
public string Medallion { get; set; }
public long PickupTime { get; set; }
public long DropoffTime { get; set; }
public string PickCell { get; set; }
public string DropCell { get; set; }
public long ... |
// *** 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.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.FinancialManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStep... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using NaughtyAttributes;
using Random = UnityEngine.Random;
[CreateAssetMenu(fileName = "ItemSO", menuName = "Item")]
public class ItemSO : ScriptableObject {
public enum... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Caliburn.Micro;
using ReactiveUI;
using ReactiveUI.XamForms;
using VM = Cross.DataVault.ViewModels;
//Services
using XLabs.Platfor... |
using Banking.API.Infrastructure.Core.Exceptions;
using Banking.API.Infrastructure.Database.Models;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Banking.API.Infrastructure.Service.TransactionProcessing
{
public class WithdrawTransaction : BaseTransaction, ITransaction
{
... |
using Newtonsoft.Json;
using System.IO;
using JsonSerializerImplementation = Newtonsoft.Json.JsonSerializer;
namespace Overmind.ImageManager.Model.Serialization
{
public class JsonSerializer : ISerializer
{
public JsonSerializer(JsonSerializerImplementation implementation)
{
this.implementation = implementa... |
// 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.Diagnostics;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Describes a source file specificat... |
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("Ad... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class clonecar : MonoBehaviour
{
public GameObject car;
GameObject carcopy;
Rigidbody rig;
float nt;
public int z;
// Use this for initialization
void Start()
{
}
// Update is called once pe... |
/*
* 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 Microsoft.AspNetCore.Builder;
namespace Blueprint.Api.Extensions
{
public static class ApplicationBuilderExtensions
{
public static void ConfigureSwagger(this IApplicationBuilder app)
{
app.UseSwagger();
app.UseSwaggerUI(options =>
{
op... |
using System.Windows;
using System.Windows.Controls;
using ScreenGrab.Interfaces;
namespace ScreenGrab.Controls {
/// <summary>
/// Interaction logic for Options.xaml
/// </summary>
public partial class Options : IHostedControl {
public Options() {
InitializeComponent();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SkilllBehaviour : MonoBehaviour {
public enum SkillType
{
Lite,
Average,
Pro
}
private string Name;
private string SkillDesc;
private SkillType Skill;
private int Price;
public s... |
using System.Text.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Text;
namespace AntDesign.Charts
{
public interface ITextStyle : IGraphicStyle
{
[JsonPropertyName("fontSize")]
public int? FontSize { get; set; }
[JsonPropertyName("fontFamily")]
... |
// SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
#if INSTR_INFO
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using Iced.Intel;
namespace Iced.UnitTests.Intel.InstructionInfoTests {
sealed class Instru... |
using System;
using System.Threading.Tasks;
using Funq;
using NUnit.Framework;
using ServiceStack.Auth;
namespace ServiceStack.WebHost.Endpoints.Tests
{
public class AuthDigestTests
{
protected virtual string VirtualDirectory { get { return ""; } }
protected virtual string ListeningOn { get { r... |
using System;
namespace Checky.Slack.TestEditor.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 text)
... |
/*
* 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... |
// 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.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using ... |
@model EPiServer.Reference.Commerce.Site.Features.Product.Models.FashionProductViewModel
<div class="modal-content jsProductDetails">
<div class="modal-header">
<p>
<button type="button" class="close" data-dismiss="modal">×</button>
</p>
</div>
<div class="modal-body ro... |
using UnityEngine;
namespace SK.Examples
{
public sealed class Hand : MonoBehaviour
{
[SerializeField] private Animator _animator;
[SerializeField] private float _speed = 10;
private float _flexTarget;
private float _pinchTarget;
private float _flexCurrent;
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GeoMagGUI
{
public static class Helper
{
public static bool IsNumeric(Object expression)
{
if (expression == null || expression is DateTime)
r... |
// <auto-generated />
using System;
using CoreWebsite.EntityFramework;
using GeoAPI.Geometries;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Stor... |
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis... |
using Bgg.Sdk.Core;
namespace Bgg.Sdk.Models
{
public class SearchResult
{
public int TotalItems { get; init; }
public string TermsOfUse { get; init; } = "";
public List<Item> Items { get; init; } = new();
public class Item
{
public ThingType ItemType { get;... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
/*
* 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... |
// *** 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... |
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
namespace Dolittle.Vanir.CLI
{
public interface IGenerator
{
void Generate(FileInfo assembly, DirectoryInfo outputPath);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.