text stringlengths 1 932k |
|---|
using Ardalis.ApiEndpoints;
using Ardalis.Result.AspNetCore;
using Getfitnessinfo.Core.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Getfitnessinfo.Web.Endpoints... |
using System;
using System.Globalization;
namespace Microsoft.StandardUI.Converters
{
public static class SizeConverter
{
public static Size ConvertFromString(string value)
{
if (value != null)
{
string[] wh = value.Split(',');
if (wh.Length == ... |
namespace Ocelot.Provider.Polly.AcceptanceTests
{
using System;
using System.IO;
public static class TestConfiguration
{
public static string ConfigurationPath => Path.Combine(AppContext.BaseDirectory, "ocelot.json");
}
} |
namespace CounterStrike.Core
{
using System;
using CounterStrike.IO;
using CounterStrike.IO.Contracts;
using CounterStrike.Core.Contracts;
public class Engine : IEngine
{
private readonly IWriter writer;
private readonly IReader reader;
private readonly IController con... |
/*
* OANDA v20 API
*
* The full OANDA v20 API Specification. This specification defines how to interact with v20 Accounts, Trades, Orders, Pricing and more.
*
* The version of the OpenAPI document: 3.0.25
* Contact: api@oanda.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Hades.Framework.Commons;
using Hades.Framework.ControlUtil;
using Hades.Framework.ControlUtil.Facade;
using Hades.HR.Entity;
using Hades.HR.BLL;
using Hades.HR.Fac... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Diagnostics;
namespace AutoSizeProject
{
public partial class Form1 : Form
{
public Form1()
{
... |
#region License
//
// Author: Nate Kohari <nate@enkari.com>
// Copyright (c) 2007-2010, Enkari, Ltd.
//
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
// See the file LICENSE.txt for details.
//
#endregion
#region Using Directives
using System;
using System.Collec... |
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Venjix.Infrastructure.Authentication;
using Venjix.Infrastructure.Database;
using Venjix.Infrastructure.Services.DataTables;
using Venjix.Infrastructure.TagHelpers;
using Venjix.Models.Entiti... |
#region Copyright & License
/*
Copyright (c) 2022, Integrated Solutions, Inc.
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, t... |
using System;
using AutoFixture;
using Eventuous.Tests.SutDomain;
using FluentAssertions;
using NodaTime;
using Xunit;
namespace Eventuous.Tests {
public class TwoAggregateOpsScenario {
readonly Fixture _fixture = new();
public TwoAggregateOpsScenario() {
_id = _fixture.Create<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.Generic;
using System.Text;
using Microsoft.Extensions.DependencyInjection.ServiceLookup;
... |
using System;
namespace RoadbookUnifiedModel.ptBR
{
[Serializable]
public class Referencia
{
public int Numero { get; set; }
public decimal Km { get; set; }
public decimal Parcial { get; set; }
public bool Afer { get; set; }
public int NumeroTrecho { get; set; }
public bool Zerar { get; set; }
... |
// Copyright (c) 2021 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System.Linq;
using System.Threading.Tasks;
using DataLayer.EfClasses;
using DataLayer.EfCode;
using GenericServices.PublicB... |
//
// WaitAssert.cs
//
// Copyright (c) 2016 Couchbase, Inc 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
//
// Un... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace XamarinEssentials.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally respond... |
using System;
using System.Text;
using NBitcoin;
using Stratis.SmartContracts;
using Stratis.SmartContracts.Core;
using Stratis.SmartContracts.Executor.Reflection;
using Xunit;
namespace Stratis.Bitcoin.Features.SmartContracts.Tests
{
public sealed class SmartContractCarrierTests
{
[Fact]
publ... |
/*************************************************************************************
Toolkit for WPF
Copyright (C) 2007-2019 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace softWeb.Controllers
{
public class getProducts
{
public string ProductKey { get; set; }
public string ProductAlternateKey { get; set; }
public string EnglishProductName { get; set... |
@model IEnumerable<Andy.Mes.Web.SysMgrUserViewModel>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => mod... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// XmlDsigC14NWithCommentsTransformTest.cs
// - Test Cases for XmlDsigC14NWithCommentsTransform
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2002, 2003 Motus... |
// <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 FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p6.Pisp.Models
{
using Newtonsoft.Json;
using Newto... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
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 Software Foundation with the addition of the... |
//
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, copy, modify, merge, ... |
using System;
using System.Collections.Generic;
using Aop.Api.Response;
using Aop.Api.Util;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.open.public.life.account.create
/// </summary>
public class AlipayOpenPublicLifeAccountCreateRequest : IAopUploadRequest<AlipayOpenPublicLifeAccountC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.houseelectrics.serializer;
namespace com.houseelectrics.serializer.path
{
public class InstancePathElement
{
public bool IsIndexed { get; set; }
}
public class NamePat... |
using UnityEngine;
namespace Game.Extensions {
/// <summary>
/// Extension methods for UnityEngine.GameObject.
/// </summary>
public static class GameObjectExtensions {
/// <summary>
/// Gets a component attached to the given game object.
/// If one isn't found, a new one is att... |
using System;
using Verse;
using Verse.AI;
using RimWorld;
namespace Horrors
{
public class ThinkNode_ConditionalCanBurrow : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn pawn)
{
String defName = pawn.def.defName;
if (defName == "Prowler" && !pawn.mind... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Winforms
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Ma... |
@model BloodBankManager.Models.AddPhoneNumberViewModel
@{
ViewBag.Title = "Phone Number";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Add a phone number</h4>
<hr />
... |
using Sushi.Mediakiwi.Website.Models;
using Sushi.Mediakiwi.Headless;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.... |
//
// Registrar.cs: Common code for the static and dynamic registrars.
//
// Authors:
// Rolf Bjarne Kvinge <rolf@xamarin.com>
//
// Copyright 2013 Xamarin Inc.
//
// #define VERBOSE_REGISTRAR
#if IPHONE
#define MONOTOUCH
#endif
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Syst... |
using System;
using System.Data.Common;
namespace Mighty.ConnectionProviders
{
internal class PresetsConnectionProvider : ConnectionProvider
{
public PresetsConnectionProvider(string connectionString, DbProviderFactory providerFactoryInstance, Type databasePluginType)
{
ConnectionS... |
namespace Amazon.Server.Data.Repositories.Contracts
{
using System.Linq;
using System.Threading.Tasks;
using Amazon.Server.Data.Models.Base;
public interface IDeletableEntityRepository<TEntity> : IRepository<TEntity>
where TEntity : class, IDeletableEntity
{
IQueryable<TEntity> Al... |
using System;
using System.Globalization;
using Xamarin.Forms;
namespace Additel.Forms.Converters
{
public class GUIDToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
=> ((Guid)value).ToString().ToUpper();
... |
using Xunit;
using System.Collections.Generic;
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.TemplateModels;
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Creator.Models;
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Creator.TemplateCreators;
using Microsoft.Azure.Manag... |
// *** 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.Globalization;
namespace FlatFiles
{
/// <summary>
/// Represents a column containing unsigned 64-bit integers.
/// </summary>
public sealed class UInt64Column : ColumnDefinition<ulong>
{
/// <summary>
/// Initializes a new instance of an UInt64Column.
... |
/*
* 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... |
//
// parameter.cs: Parameter definition.
//
// Author: Miguel de Icaza (miguel@gnu.org)
// Marek Safar (marek.safar@seznam.cz)
//
// Dual licensed under the terms of the MIT X11 or GNU GPL
//
// Copyright 2001-2003 Ximian, Inc (http://www.ximian.com)
// Copyright 2003-2008 Novell, Inc.
//
//
using System;
usi... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
class Program
{
private static TestUtil.TestLog testLog;
static Program()
{
// Create test writer object to hold expected output
... |
using System;
using System.Linq;
using System.Reflection;
using Android.OS;
namespace Microsoft.WindowsAzure.MobileServices
{
class PlatformInformation : IPlatformInformation
{
private static IPlatformInformation instance = new PlatformInformation();
public static IPlatformInformation Instance... |
using LNF.Impl.Repository.Feedback;
namespace LNF.Impl.Mappings.Feedback
{
internal class NegativeIssueMap : FeedbackIssueMap<NegativeIssue>
{
internal NegativeIssueMap()
{
Table("NegativeIssue");
Map(x => x.ClientID, "ViolatorID");
Map(x => x.ResourceID);
... |
using System;
namespace HDNotificationView
{
public class VisibilityChangeArgs : EventArgs
{
public bool IsVisible { get; }
public VisibilityChangeArgs(bool isVisible)
{
IsVisible = isVisible;
}
}
} |
using Microsoft.AspNetCore.Authorization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Benday.Presidents.UnitTests.Security
{
public static class SecurityAttributeUtility
{
public static void AssertAuthorizeAttributeRolesOnMethod(
string ex... |
// ****************************************************************
// Copyright 2002-2018, Charlie Poole
// This is free software licensed under the NUnit license, a copy
// of which should be included with this software. If not, you may
// obtain a copy at https://github.com/nunit-legacy/nunitv2.
// *****************... |
// ----------------------------------------------------------------------
// <copyright file="GridColumn.cs" company="Xavier Solau">
// Copyright © 2021 Xavier Solau.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
// ----------------------------... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Microsoft.Scripting.Hosting;
namespace QuakeConsole
{
/// <summary>
/// Runs <see cref="Console"/> commands through an IronPython parser. Supports loading .NET types
/// and provides autocomplete for them.
... |
using Domain.Base;
using InjectionExtension;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using SpectreConsoleApplication.Menus.Abstract;
using SpectreConsoleApplication.Menus.Counter;
using SpectreConsoleApplication.Menus.Member;
using SpectreConsoleApplication.Menus.WeatherFore... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Taiko.Objects
{
public class BarLine : TaikoHitObject
{
}
} |
using Synercoding.FileFormats.Pdf.LowLevel.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Synercoding.FileFormats.Pdf.LowLevel
{
internal class PageTree : IPdfObject
{
private readonly IList<PdfPage> _pages;
private bool _isWritten;
public Page... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using LowCostLinq;
namespace PerformanceTests
{
public class EnumerableArrayWhere2Int : EnumerableArrayWhere2<int>
{ }
public ... |
namespace OpenStack.Net
{
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Rackspace.Threading;
/// <summary>
/// Provides the base class for an HTTP API call that delegates behavior to another <see cref="IHttpApiCall{T}"/>
/// instance, ... |
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "BGM", columnHash: 0xc9fc6953 )]
public class BGM : IExcelRow
{
public string File;
public byte Priority;
public bool DisableRestartTimeOut;
public bool DisableResta... |
// Copyright 2021 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
// // <summary>
// The UserServicesClient interface.
// </summary>
// --------------------------------------------------------------------------... |
namespace AngleSharp.Text
{
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// A stream abstraction to handle encoding and more.
/// </summary>
public sealed class TextSource : IDisposable
{
#region F... |
using Concepts.TodoItem;
using Dolittle.Commands;
namespace Domain.TodoItem
{
public class MarkItemAsNotDone : ICommand
{
public ListId List { get; set; }
public TodoText Text { get; set; }
}
} |
/*
* 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... |
//------------------------------------------------------------------------------
// <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 System;
using System.Collections.Generic;
using System.Text;
namespace krchhto
{
/// <summary>
/// Represents the filter level op the pop-up blocker
/// </summary>
enum PopupBlockerFilterLevel
{
/// <summary>
/// No pop-ups are blocked
/// </summary>
None = 0,
/// <summary>
/// ... |
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("03.... |
using System.IO;
using System.Linq;
namespace DG.Core.Providers
{
public class FileSystemProvider : IFileSystemProvider
{
public string[] GetAssembliesLocations(string path)
{
if (!Directory.Exists(path))
{
return new string[] { };
}
... |
// Copyright (c) IEvangelist. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using Microsoft.Azure.CosmosRepository.Paging;
using Microsoft.Azure.CosmosRepository.Specification.Builder;
namespace Microsoft.Azure.CosmosRepository.Specification
{
/// <summary>
/// A s... |
using CSCore.DSP;
using System;
using System.Collections.Generic;
namespace FractalEngine.Audio
{
public class BasicSpectrumProvider : FftProvider, ISpectrumProvider
{
private readonly int _sampleRate;
private readonly List<object> _contexts = new List<object>();
... |
// *** 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 SnapsLibrary;
class Ch07_05_BadlyNumberedStand
{
public void StartProgram()
{
int noOfStands = SnapsEngine.ReadInteger("How many ice cream stands");
int[] sales = new int[noOfStands];
for (int count = 0; count < sales.Length; count = count + 1)
{
sales[count]... |
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("Op... |
// 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;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Co... |
using Godot;
using System;
using System.Threading.Tasks;
public class Spawner : Node2D
{
[Signal] public delegate void SpawnTimeout();
private Godot.Collections.Array<Position2D> positionList = new Godot.Collections.Array<Position2D>();
public Timer spawnColdown;
public Timer miniColdown;
public Main main;... |
//-----------------------------------------------------------------------
// <copyright file="User.cs" company="TemporalCohesion.co.uk">
// Copyright [2010] [Stuart Grassie]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... |
/*
* 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 Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.Extensions.Options;
using Microsoft.Net.Http.Headers;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace AspNetCore.Rendertron
{
public class RendertronMiddleware
{
private readonly Reque... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Linq;
using AcTools.Utils;
using AcTools.Utils.Helpers;
using AcTools.WheelAngles.I... |
#pragma warning disable 169, 649
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace MicroResolver.Test
{
public interface ISingleton1
{
}
public class Singleton1 : ISingleton1
{
... |
/****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.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... |
using System;
using System.Text;
using NUnit.Framework;
using EventStore.ClientAPI;
using EventStore.ClientAPI.Projections;
using EventStore.ClientAPI.Common.Log;
using EventStore.ClientAPI.SystemData;
using EventStore.Common.Options;
using EventStore.Core;
using EventStore.Core.Tests;
using EventStore.Core.Tests.Helpe... |
namespace Wingman.WpfAppExample.ViewModels
{
using Wingman.ServiceFactory;
using Wingman.WpfAppExample.ViewModels.Interfaces;
public sealed class ShellViewModel : ViewModelBase, IShellViewModel
{
public ShellViewModel(IServiceFactory serviceFactory)
{
DisplayName = "Wingman... |
namespace Microsoft.Azure.PowerShell.Cmdlets.DiskPool.Models.Api20210401Preview
{
using Microsoft.Azure.PowerShell.Cmdlets.DiskPool.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="DiskPoolUpdateTags" />
/// </summary>
public part... |
[TaskCategoryAttribute] // RVA: 0x145710 Offset: 0x145811 VA: 0x145710
public class CharacterCrossFade : Action // TypeDefIndex: 6397
{
// Fields
private AIInput AIInput; // 0x50
public SharedString stateName; // 0x58
public SharedFloat transitionDuration; // 0x60
// Methods
// RVA: 0x1E4D6F0 Offset: 0x1E4D7F1 ... |
using System.ComponentModel.DataAnnotations;
namespace Service.WalletApi.EducationTimeApi.Controllers.Contracts
{
public class TaskGameRequest : TaskRequestBase
{
[Required]
public bool Passed { get; set; }
}
} |
using System;
using System.ComponentModel;
using System.Xml.Serialization;
namespace XCode.DataAccessLayer
{
/// <summary>索引</summary>
[Serializable]
[DisplayName("索引模型")]
[Description("索引模型")]
[XmlRoot("Index")]
class XIndex : SerializableDataMember, IDataIndex, ICloneable
{
#regi... |
using FairlayDotNetClient.Private.Infrastructure;
using FairlayDotNetClient.Private.Requests.Infrastructure;
namespace FairlayDotNetClient.Private
{
public interface PrivateApiBuilder
{
PrivateApiBuilder UseRequestBuilder(PrivateApiRequestBuilder requestBuilder);
PrivateApiBuilder UseRequestSigner(PrivateApiReq... |
using System.Collections.Generic;
using Nest.Indexify.Contributors.Analysis.Analyzers;
namespace Nest.Indexify.Contributors.Analysis.Phonetic
{
public class PhoneticIndexAnalyzerContributor : IndexAnalysisAnalyzerContributor
{
private readonly string _name;
private readonly string _tokenFilter;
public Phonet... |
//
// Copyright (c) Microsoft and contributors. 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
//
// Unless requi... |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Net;
using System.IO;
using System.Text.Json;
using AccelByte.Sdk.Api.Iam.M... |
//
// XamlLoader.cs
//
// Author:
// Stephane Delcroix <stephane@mi8.be>
//
// Copyright (c) 2013 Mobile Inception
// Copyright (c) 2013-2014 Xamarin, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to ... |
namespace gView.Framework.UI.Dialogs
{
partial class FormFavoritesList
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// ... |
using System;
using System.ComponentModel.DataAnnotations;
namespace GlobalLib.Models.VieShowDB
{
public class tblRptSessionFilm
{
[Key]
public int Session_lngSessionId { get; set; }
public string CinOperator_strCode { get; set; }
public DateTime? Session_dtmRealShow { get; set... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.CosmosElements
{
using System;
using Microsoft.Azure.Cosmos.Json;
#if INTERNAL
#pragma wa... |
//Stylized Water Shader by Jonathan3D http://u3d.as/A2R
using UnityEngine;
using System;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
[RequireComponent(typeof(MeshRenderer))]
public class StylizedWater : MonoBehaviour
{
#region Shader variables
[Header("Color")]
... |
using Core.Global;
namespace Core.Db {
public class DbHelper {
private string _connStr;
public string ConnStr => _connStr;
public DbHelper(EnvVars envVars) {
_connStr = BuildConnStr(
envVars.PostgresqlHost,
envVars.PostgresqlUsername,
... |
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... |
@addTagHelper *, NewBrandingStyle
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - NewBrandingStyle.Web</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" ... |
using UnityEngine;
/// <summary>
/// Uses a Rigidbody2D component to move a GameObject in it's upward
/// direction.
/// </summary>
public class Thruster : MonoBehaviour
{
/// <summary>
/// The game's settings.
/// </summary>
[Tooltip("The game's settings.")]
[SerializeField] private Settings setti... |
using Avo.AspNet.Identity.MongoDB;
using Microsoft.AspNet.Identity;
using NUnit.Framework;
namespace Avo.AspNet.Identity.MongoDB.Tests
{
[TestFixture]
public class UserEmailStoreTests : UserIntegrationTestsBase
{
[Test]
public void Create_NewUser_HasNoEmail()
{
var user = new IdentityUser("bob");
va... |
namespace SharpJS.Dom.Elements
{
public class InputElement : Element
{
public InputElement() : base("input")
{
}
public string Type
{
get { return this["type"]; }
set { this["type"] = value; }
}
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ActiveLogin.Identity.Swedish;
using IdentityInfo.Core.Swedish.Testdata;
using MediatR;
namespace IdentityInfo.Core.Swedish.Requests.CoordinationNumbers
{
public class Randomize
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace MangoEngine.Helpers
{
public static class MangoWebHelpers
{
/*Methods*/
public static string GetCompression(HttpResponseMessage ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.