text stringlengths 1 932k |
|---|
using System;
using AzureFromTheTrenches.Commanding.Abstractions;
using AzureFromTheTrenches.Commanding.AzureServiceBus.Implementation;
using Microsoft.Azure.ServiceBus;
namespace AzureFromTheTrenches.Commanding.AzureServiceBus
{
public static class QueueClientExtensions
{
public static ICommandDispat... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShenmueDKSharp.Utils;
using ShenmueDKSharp.Files.Images;
using ShenmueDKSharp.Files.Containers;
usi... |
using System;
using System.ComponentModel;
namespace Farming.WpfClient.ViewModels.Database
{
public class ReproductionViewModel : ValidationViewModelBase
{
[Description("Идентификатор")]
public int Id
{
get => Get(() => Id);
set => Set(() => Id, value);
... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d11.h(5850,1)
namespace DirectN
{
public enum D3D11_TEXTURE_ADDRESS_MODE
{
D3D11_TEXTURE_ADDRESS_WRAP = 1,
D3D11_TEXTURE_ADDRESS_MIRROR = 2,
D3D11_TEXTURE_ADDRESS_CLAMP = 3,
D3D11_TEXTURE_ADDRESS_BORDER = 4,
... |
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("Twi... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using Unity.Builder;
using Unity.Builder.Selection;
namespace Unity.Policy
{
/// <summary>
/// An <see cref="IBuilderPolicy"/> that returns a sequence
... |
using System;
using System.Net;
using Calamari.Integration.Proxies;
using Calamari.Tests.Helpers;
using FluentAssertions;
using NUnit.Framework;
using SetProxy;
namespace Calamari.Tests.Fixtures.Integration.Proxies
{
[TestFixture]
public class ProxySettingsInitializerFixture
{
const string ProxyUs... |
using System;
namespace RaytracerCore.Vectors
{
/// <summary>
/// <para>Represents a ray to cast through a scene.</para>
/// <para>This implementation includes no maximum distance for a ray cast, but one may be desired
/// to prevent floating point inaccuracies affecting the output.</para>
/// </summary>
public... |
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Inshapardaz.Api.Converters;
using Inshapardaz.Api.Extensions;
using Inshapardaz.Api.Helpers;
using Inshapardaz.Api.Mappings;
using Inshapardaz.Api.Views.Library;
using Inshapardaz.Domain.Models;
using Inshapardaz.Domain.Mod... |
#region Header
//
// Project: WriteableBitmapEx - WriteableBitmap extensions
// Description: Assembly Infos.
//
// Changed by: $Author: unknown $
// Changed on: $Date: 2012-06-13 10:09:50 +0200 (Mi, 13 Jun 2012) $
// Changed in: $Revision: 91730 $
// Project: ... |
#region Copyright
// MIT License
//
// Copyright (c) 2020 Ivan Bondy
//
// 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
// ... |
using System;
using System.Web;
using ServiceStack.ServiceHost;
namespace ServiceStack.WebHost.Endpoints.Support
{
public class NotFoundHttpHandler
: IServiceStackHttpHandler, IHttpHandler
{
public void ProcessRequest(IHttpRequest request, IHttpResponse response, string operationName)
{
response.ContentTyp... |
namespace MetaCompiler
{
using System;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using CompilerKit;
sealed partial class GrammarTokenizer : Tokenizer<GrammarTokenType>
{
public GrammarTokenizer(TextReader reader, string fileName) : this(reader, fileName, true)
{
}... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Buil... |
// ----------------------------------------------------------------------------------
//
// 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... |
// 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.Windows.Controls;
using System.Windows.Data;
namespace MetroDemo.ExampleViews
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Vanara.Extensions;
using Vanara.InteropServices;
using static Vanara.PInvoke.Ws2_32;
namespace Vanara.PInvoke
{
public static partial class NetApi32
{
/// <summary>The <c>DsAddressToSiteNamesEx</c> functi... |
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using HCore.Emailing.AMQP;
using HCore.Amqp.Processor;
using HCore.Emailing.Models;
using System.Collections.Generic;
using System;
namespace HCore.Emailing.Sender.Impl
{
public class... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nucleo.Text
{
[TestClass]
public class MessageTest
{
[TestMethod]
public void TestCreatingObject()
{
Message message = new Message(Guid.NewGuid(), "Welcome", "Welcome to our site");
Assert.AreNotEqual(Guid.Empty, message.ID);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core;
namespace mml2vgmIDE.MMLParameter
{
public class C140 : Instrument
{
public C140(SoundManager.Chip chip) : base(24,chip)
{
for (int i = 0; i < 24; i++)
... |
using Microsoft.Extensions.Logging;
using shockz.msa.ordering.domain.Entities;
namespace shockz.msa.ordering.infrastructure.Persistence
{
public class OrderContextSeed
{
public static async Task SeedAsync(OrderContext context, ILogger<OrderContextSeed> logger)
{
if (!context.Orders.Any()) {
... |
/*
* 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 ... |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (https://www.specflow.org/).
// SpecFlow Version:3.3.0.0
// SpecFlow Generator Version:3.1.0.0
//
// Changes to this file may cause incorrect behavior and w... |
namespace Blazorise.Animate
{
public class EaseInQuartEasing : IEasing
{
public string Name => "ease-in-quart";
}
} |
using System;
using System.Collections.Generic;
using Suilder.Builder;
using Suilder.Core;
using Suilder.Extensions;
using Suilder.Functions;
using Suilder.Test.Builder.Tables;
using Xunit;
namespace Suilder.Test.Builder.Operators
{
public class NotEqTest : BuilderBaseTest
{
[Fact]
public void ... |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
using NetOffice;
namespace NetOffice.WordApi
{
///<summary>
/// DispatchInterfa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.CountRealNumbers
{
class CountRealNumbers
{
static void Main(string[] args)
{
List<double> numbers = Console.ReadLine().Split(' ').Select(double.Parse).... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Domain.Uow;
using ProyectoBase.Authorizatio... |
using FeatureLoom.Helpers;
using FeatureLoom.Synchronization;
using System;
using System.Collections.Generic;
namespace FeatureLoom.Serialization
{
public static class SerializationService
{
static SerializationService()
{
TypeBasedMetaSerializer standardSerializer = new TypeBasedM... |
using System;
using System.Collections.Generic;
using System.Text;
namespace merigurumi.blog.DTO.DTOs.CommentDtos
{
public class CommentListDto
{
public int Id { get; set; }
public string AuthorName { get; set; }
public string AuthorEmail { get; set; }
public string Description... |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... |
/*
* 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 Newtonsoft.Json;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace InfiniteFlightLiveClient.Types
{
public class AtcEntry
{
[JsonProperty("frequencyId")]
public Guid FrequencyId { get; set; }
[JsonProperty("userId")]
public Guid UserId { get; set; }... |
#region Licence...
/*
The MIT License (MIT)
Copyright (c) 2015 Oleg Shilo
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... |
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("CMM... |
using System;
using System.Globalization;
using Avalonia.Data.Converters;
namespace SpectrumEngine.Client.Avalonia.Controls;
/// <summary>
/// Converts a parameter value to a boolean indicating whether the current clock multiplier is the
/// specified parameter value
/// </summary>
public class ClockMultiplierConvert... |
namespace ET3400.Trainer
{
public interface IMemory
{
int[] Memory { get; }
}
} |
//------------------------------------------------------------------------------
// <copyright file="XmlEventChangedAction.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">ionv</owner>
//-----------------------------------... |
/*
* 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... |
namespace System.Extensions.Http
{
using System.Collections.Generic;
public interface IFormParams : IEnumerable<KeyValuePair<string, string>>
{
KeyValuePair<string, string> this[int index] { get; }
int Count { get; }
bool Contains(string name);
bool TryGetValue(string name,... |
using System;
using sharpPDF.Exceptions;
using sharpPDF.Enumerators;
using System.Reflection;
namespace sharpPDF
{
/// <summary>
/// A Class that implements an abstract table's header object
/// </summary>
public class pdfTableHeader : pdfTableRow
{
/// <summary>
/// Class's constructor
/// </summary>
in... |
namespace ClassLib005
{
public class Class014
{
public static string Property => "ClassLib005";
}
} |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012 - 2019. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic ... |
// *** 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.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace FileSystem
{
/// <summary>
/// Sizes the window according to the screen, for iPad as well as iPhone support
/// </summary>
[Register ("AppDelegate")]
public class AppDelegate : UIApplica... |
namespace OJS.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using OJS.Common;
using OJS.Common.Models;
using OJS.Data.Contracts;
/// <summary>
/// Repres... |
using MySqlConnector;
using Opdex.Platform.Infrastructure.Abstractions.Data;
namespace Opdex.Platform.Infrastructure.Data;
public sealed class DatabaseSettings: IDatabaseSettings<MySqlConnection>
{
private readonly string _connectionString;
public DatabaseSettings(string connectionString)
{
_conn... |
using System;
using System.Collections.Generic;
namespace AutomationFrameWork.Reporter.ReportUtils
{
public class Output
{
public struct Files
{
public const string TestHtmlFile = "Test" + FileType.Html;
public const string TestXmlFile = "Test" + FileType.Xml;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Globalization;
using System.Runtime;
namespace System.Text
{
internal class BinHexEncoding : Encoding
{
private static ReadOnlySpan<byte> Char2val => ne... |
//
// Options.cs
//
// Authors:
// Jonathan Pryor <jpryor@novell.com>, <Jonathan.Pryor@microsoft.com>
// Federico Di Gregorio <fog@initd.org>
// Rolf Bjarne Kvinge <rolf@xamarin.com>
//
// Copyright (C) 2008 Novell (http://www.novell.com)
// Copyright (C) 2009 Federico Di Gregorio.
// Copyright (C) 2012 Xamarin Inc... |
using System;
public abstract class Harvester : Entity, IHarvester
{
private const string RegistrationFailedErrorMsg = "Harvester is not registered, because of it's {0}";
private const double MinOreOutput = 0;
private const double MinEnergyRequirement = 0;
private const double MaxEnergyRequirement = ... |
using System;
using Palla.Labs.Vdt.App.Dominio.Modelos;
namespace Palla.Labs.Vdt.App.Dominio.Fabricas
{
public static class FabricaParametrosManutencao
{
public static ParametrosManutencao Criar(Equipamento equipamento)
{
if (equipamento.Tipo == TipoEquipamento.Extintor)
... |
using UnityEngine;
using System.Collections;
using Utils.Constants;
public class TapInput : MonoBehaviour
{
public void Start()
{
onInitialize();
}
public void OnEnable()
{
onEnable();
}
public void OnDisable()
{
onDisable();
}
public void Update()
{
updateTapInput();
onUpdate();
}
public... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.WindowsServices;
using NLog.Web;
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading;
using YL.Utils.Configs;
namespace YL
{
public class Program
{
... |
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
{
using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions;
/// <summary>Data Table which defines columns and raw row values</summary>
public partial class DataTableResponseObject :
Microsoft.Azure.PowerSh... |
using MasterDevs.ChromeDevTools;using Newtonsoft.Json;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.DOMStorage
{
[Event(ProtocolName.DOMStorage.DomStorageItemsCleared)]
[SupportedBy("iOS")]
public class DomStorageItemsClearedEvent
{
/// <summary>
/// Gets or sets StorageId
/// </summary>
public Storage... |
using Microsoft.ML.Data;
namespace DbLoader
{
public class HousingData
{
[LoadColumn(0)]
public float Longitude { get; set; }
[LoadColumn(1)]
public float Latitude { get; set; }
[LoadColumn(2)]
public float HousingMedianAge { get; set; }
[LoadColumn(3... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
//******************************************************************************************************************************************************************************************//
// Copyright (c) 2020 @redhook62 (adfsmfa@gmail.com) ... |
/*
* 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 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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... |
// ------------------------------------------------------------------------
// Muragatte - A Toolkit for Observation of Swarm Behaviour
// Research Application
//
// Copyright (C) 2012 Jiří Vejmola.
// Developed under the MIT License. See the file license.txt for details.
//
// Muragatte on the internet: ... |
using System.Xml.XPath;
using ProcessSmarterTestPackage.Processors.Common;
using SmarterTestPackage.Common.Data;
using ValidateSmarterTestPackage;
using ValidateSmarterTestPackage.Validators.Convenience;
namespace ProcessSmarterTestPackage.Processors.Scoring.ScoringRules
{
public class ComputationRuleParameterVal... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/sapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System;
... |
//@#$&+
//
//The MIT X11 License
//
//Copyright (c) 2010 - 2016 Icucom Corporation
//
//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 rig... |
namespace Chloe
{
public class Sql
{
/// <summary>
/// 比较两个相同类型的对象值是否相等,仅支持在 lambda 表达式树中使用。
/// 使用此方法与双等号(==)的区别是:a => Sql.Equals(a.Name, a.XName) 会被翻译成 a.Name == a.XName,而 a => a.Name == a.XName 则会被翻译成 a.Name == a.XName or (a.Name is null and a.XName is null)
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwitchCameras : MonoBehaviour {
public Camera main;
public bool camSwitch = false;
public void Start()
{
//cam1 = GameObject.FindGameObjectWithTag("Cam1").GetComponent<Camera>(); //Camera cam = Ga... |
// ------------------------------------------
// <copyright file="TTest.cs" company="Pedro Sequeira">
//
// Copyright (c) 2018 Pedro Sequeira
//
// 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 ... |
extern alias R4;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CommandLine;
using FhirTool.Core.ArgumentHelpers;
using FhirTool.Core.FhirWrappers;
using Hl7.Fhir.Utility;
using IdentityModel.Client;
using Microsoft.Extensions.Logging;
using R4::Hl7.Fhir.Model;
n... |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AlipayPassInstanceUpdateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayPassInstanceUpdateModel : AopObject
{
/// <summary>
/// 代理商代替商户发放卡券后,再代替商户更新卡券时,此值... |
using System;
using System.Collections.Generic;
using Alipay.AopSdk.Core.Response;
namespace Alipay.AopSdk.Core.Request
{
/// <summary>
/// AOP API: koubei.retail.shopitem.upload
/// </summary>
public class KoubeiRetailShopitemUploadRequest : IAopRequest<KoubeiRetailShopitemUploadResponse>
{
... |
/* Copyright (c) 2006, NIF File Format Library and Tools */
// THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT! //
// To change this file, alter the generate_cs.py Python script.
//-----------------------------------NOTICE----------------------------------//
// Only add custom code in the designated areas to preser... |
using Application.Interfaces;
using Application.Mappings;
using AutoMapper;
using Domain.Entities;
using Domain.Settings;
using Infrastructure.Persistence.Contexts;
using Infrastructure.Persistence.Repositories;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
u... |
using AMDev.CamServer.UWP.Media;
using AMDev.CamServer.UWP.Network;
using AMDev.CamServer.UWP.Threading;
using CamServer.UWP.TestApp.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Windows.... |
/*
* 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... |
// JotunnLib
// a Valheim mod
//
// File: TestMapDrawing.cs
// Project: TestMod
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using BepInEx;
using Jotunn;
using Jotunn.Entities;
using Jotunn.Managers;
using Jotunn.Utils;
using UnityEngine;
namespace TestMod
{
[BepInPlugin(M... |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... |
/*
* 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.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using Bisner.Mobile.Core.Helpers;
namespace Bisner.Mobile.Droid.Helpers
{
public class LocaleAndroid : ILocale
{
public string GetCurrentLocaleId()
{
var androidLocale = Java.Util.Locale.Default;
var netLanguage = androidLocale.ToString().Replace("_", "-");
... |
// Copyright © 2018 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel.DataAnnotations;
using Platformus.Globalization.Backend.ViewModels;
namespace Platformus.ECommerce.Backend.ViewModels.C... |
using Assets.Scripts.StateManagement;
using UnityEngine;
namespace Assets.Scripts.Controllers {
public class BrickContainerController : GameStateAware
{
[SerializeField]
private GameObject brickPrefab;
private BricksContainerState state;
// Start is called before the first fram... |
//------------------------------------------------------------------------------
// <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.Threading;
namespace Grapevine
{
public interface IHttpContext : ILocals
{
CancellationToken CancellationToken { get; }
string Id { get; }
/// <summary>
/// Returns a value that indicate whether or not the client request has been responded to
... |
using System; // require keep for Windows Universal App
using UnityEngine;
namespace QFramework
{
[DisallowMultipleComponent]
public class ObservableAnimatorTrigger : ObservableTriggerBase
{
Subject<int> onAnimatorIK;
/// <summary>Callback for setting up animation IK (inverse kinematics).... |
// Copyright (c) Richasy. All rights reserved.
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Richasy.Bili.Lib.Interfaces;
using Richasy.Bili.Models.BiliBili;
using static Richasy.Bili.Models.App.Constants.ApiConstants;
using st... |
// 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;
using System.Xml;
using Xunit;
namespace Microsoft.Data.SqlClient.ManualTesting.Tests
{
public s... |
@using Fitnezz.Web.Common
@model List<List<Fitnezz.Web.Web.ViewModels.MealPlans.AllMealPLansViewModel>>
@{
this.ViewData["Title"] = "Meal Plans";
}
<h1 style="position: absolute; left: 40%" class="col-md-3">Your Personal <span class="color"> Meal Plans</span></h1>
<div style="overflow: hidden">
<div style="... |
@*
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, m... |
using System.Collections.Generic;
using System.Linq;
namespace OzonEdu.MerchandiseApi.Domain.Models
{
public abstract class ValueObject
{
protected static bool EqualOperator(ValueObject? left, ValueObject? right)
{
return ReferenceEquals(left, null) ^ ReferenceEquals(right, null)
... |
@model Joobie.Models.JobModels.Category
@{
ViewData["Title"] = "Delete";
}
<form method="post" asp-action="Delete">
<div class="border backgroundWhite">
<h2 class="text-info">Usuń Kategorię</h2>
<br />
<div class="form-group row">
<div class="col-md-2">
<la... |
using System;
using System.Xml.Schema;
using XsdDocumentation.Model;
namespace XsdDocumentation.Markup
{
internal static class ConstraintsMamlWriterExtensions
{
private sealed class ConstraintRowWriter : XmlSchemaSetVisitor
{
private MamlWriter _writer;
private Context ... |
#region BSD License
/* Copyright (c) 2013-2018, Doxense SAS
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 list of cond... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using log4net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using CKAN.NetKAN.Services;
using CKAN.Versioning;
// We could use OctoKit for this, but since we're only pinging the
// release A... |
using DevelopmentInProgress.TradeView.Core.Model;
using Kucoin.Net.Objects;
using System;
namespace DevelopmentInProgress.TradeView.Api.Kucoin
{
public static class OrderSideExtensions
{
public static KucoinOrderSide ToKucoinOrderSide(this OrderSide order)
{
return order switch
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace tutorial_2
{
class Program
{
static FirstAgent g_FirstAgent;
static bool InitBehavic()
{
Console.WriteLine("InitBehavic");
behaviac.Workspac... |
using AcreeBlog.Data.Command;
using AcreeBlog.Data.Command.Commands;
using AcreeBlog.Data.Query.Queries;
using AcreeBlog.Data.Query;
using AcreeBlog.Data.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using WilderMinds.Me... |
using Csla.Analyzers.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Csla.Analyzers
{
internal sealed class EvaluateManagedBackingFieldsWalker
: CSharpSyntaxWalker
{
internal EvaluateManagedBackingFieldsWalker(SyntaxNode ... |
namespace ClearHl7.Codes.V290
{
/// <summary>
/// HL7 Version 2 Table 0203 - Identifier Type.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0203</remarks>
public enum CodeIdentifierType
{
/// <summary>
/// AC - Accreditation/Certification Identifier.
/// </summ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.