text stringlengths 1 932k |
|---|
// <copyright file="InProcessRunningSpanStore.cs" company="OpenCensus Authors">
// Copyright 2018, OpenCensus 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 theLicense at
//
// http://www.... |
using UniversityManagementSystem.Data.Entities;
namespace UniversityManagementSystem.Data.Initializers.Seeds
{
internal static class UserRolesSeed
{
public static UserRole[] ToArray()
{
return new[]
{
new UserRole {User = UsersSeed.AbbeLakin, Role = Roles... |
using System;
using Windows.Security.ExchangeActiveSyncProvisioning;
using Xamarin.Forms;
namespace PlatInfoSap2
{
public class PlatformInfo
{
EasClientDeviceInformation devInfo = new EasClientDeviceInformation();
public string GetModel()
{
return String.Format("{0} {1}", ... |
@{
ViewBag.Title = "Details";
Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
layui.use(['jquery', 'form', 'laydate', 'tablePlug', 'common'], function () {
var form = layui.form,
$ = layui.$,
common = layui.common,
laydate = layui.laydate;
var keyValue... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraBars;
namespace SaccoBook.Modules.Loans
{
public partial class LoanGuarantors :... |
using System.ComponentModel;
using System.Numerics;
using Sirenix.OdinInspector;
namespace ETModel
{
public class B2S_BoxColliderDataStructure: B2S_ColliderDataStructureBase
{
[LabelText("x轴方向上的一半长度")]
[DisableInEditorMode]
public float hx;
[LabelText("y轴方向上的一半长度")]
[Di... |
using System;
using System.Collections.Generic;
using System.IO;
namespace Xunit.ConsoleClient
{
public class CommandLine
{
readonly Stack<string> arguments = new Stack<string>();
protected CommandLine(string[] args, Predicate<string> fileExists = null)
{
if (fileExists ==... |
//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace System.Threading
{
//NOTE: If you change the signature here, there is code in COMSynchronization
... |
/*
* 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.Net.Http;
using System.Text;
using Newtonsoft.Json;
namespace AwsSignatureVersion4.Integration.Contents
{
public static class Extensions
{
public static StringContent ToJsonContent(this Type self) =>
new StringContent(
JsonConvert.SerializeObject(... |
/**
* @file Backend.cs
* @brief Class to handle common methods used to read/write the ROM.
*
* @copyright Shawn M. Crawford
* @date 10/10/2019
*
* @remark Author Shawn M. Crawford
*
* @note N/A
*
*/
using System.IO;
namespace zelda2texteditor {
/** @brief Back... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogViewer.Controls
{
class ScrollViewerModel
{
public double VerticalPosition { get; set; }
public double HorizontalPosition { get; set; }
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
{
internal enum TypeKind
{
IsArray = 1,... |
using CoachBot.Shared.Model;
using Newtonsoft.Json;
using System.IO;
namespace CoachBot.Shared.Helpers
{
public static class ConfigHelper
{
public static Config GetConfig()
{
return JsonConvert.DeserializeObject<Config>(File.ReadAllText(@"config-dev.json"));
}
}
} |
namespace Microsoft.Azure.TypeEdge.Modules.Messages
{
public enum MessageResult
{
Ok,
Error
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimatorScript : MonoBehaviour
{
private Animator anim;
// Start is called before the first frame update
void Start()
{
anim = GetComponent<Animator>();
}
void OnCollisionEnter2D(Collision2D col... |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DxLibDLL;
using Charlotte.Commons;
using Charlotte.GameCommons;
using Charlotte.GameCommons.Options;
using Charlotte.Games.Enemies;
using Charlotte.Games.Shots;
using Charlotte.Games.Walls;
using Charlotte.LevelEditors;
using C... |
using Minedraft.Models.Contracts;
using Minedraft.Services.Contracts;
using System.Linq;
namespace Minedraft.Models.Commands
{
public class RegisterProviderCommand : ICommand
{
private IDraftManager draftManager;
public RegisterProviderCommand(IDraftManager draftManager)
{
... |
// *** 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... |
namespace PnP.Core.Model.SharePoint
{
[GraphType]
internal partial class TermSetProperty : BaseDataModel<ITermSetProperty>, ITermSetProperty
{
#region Properties
[GraphProperty("key")]
public string KeyField { get => GetValue<string>(); set => SetValue(value); }
public stri... |
/*
* 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... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
[assembly: CollectionBehavior(DisableTestParallelizati... |
using Aurum.Core.Parser;
using Aurum.Gen;
using Aurum.Gen.Validators;
using Aurum.Integration.Tests.Temp;
using Aurum.TemplateUtils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ninject;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Aurum.Integration.Tests
{
[TestCla... |
// *** 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... |
// <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 Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Co... |
//------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
// 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 disable
using System.Collections.ObjectModel;
using System.Diagnostics;
using Microsoft.VisualStudio.Deb... |
#if !WINDOWS_UWP
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
namespace Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls
{
/// <summary>
/// UWP doesn't have implicit conver... |
using System;
namespace ExemploLogin.Workbench
{
public static class ObjectCopier
{
public static T CreateCopy<T>(this T obj)
{
var type = obj.GetType();
// Cria um novo objeto do mesmo tipo informado.
var newObj = Activator.CreateInstance(type);
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Datadog.Trace.ClrProfiler.Emit;
using Datadog.Trace.ClrProfiler.Helpers;
using Datadog.Trace.Configuration;
using Datadog.Trace.Logging;
namespace Datadog.Trace.ClrProfiler.Integrations
{
/// <summary>
/// Tr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StatusChar : MonoBehaviour {
//[HideInInspector]
[Range(1, 100)]
public int life = 100;
[Range(1, 100)]
public float velocity = 5;
[Range(1, 100)]
public int initialLife = 100;
void start(){
life = initi... |
using Microsoft.WindowsAPICodePack.Dialogs; // NuGet から WindowsAPICodePack-Shell をインストールする
namespace MyExplorer
{
class DialogOpenFolder
{
public static string Show()
{
CommonOpenFileDialog cofd = CreateCommonOpenFileDialog();
string folderPath = null;
if... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using FedSurvey.Models.Util;
namespace FedSurvey.Models
{
public partial class DataGroup : Timestamps
{
public DataGroup()
{
... |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole, Rob Prouse
//
// 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 restri... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using NextApi.Common;
namespace NextApi.Server.Base
{
/// <summary>
/// Interface is contract for writing NextApi responses to <see cref="HttpResponse"/>.
/// </summary>
internal interface ICommandResultWriter
{
/// <summary>
... |
// 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.ComponentModel;
using System.Net;
using System.Net.Http;
using System.Net.Security;
using... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrashDummy : MonoBehaviour
{
private float hp = 15;
public GameObject bomber;
// Update is called once per frame
void Update()
{
if(hp <= 0f)
Death();
}
priva... |
// Copyright (c) 2008-2021, Hazelcast, 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
//
// Unless required by ... |
/*
LICENSE
-------
Copyright (C) 2007 Ray Molenkamp
This source code is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this source code or the software it produces.
Permission is granted to anyone to use th... |
using System;
using System.IdentityModel.Protocols.WSTrust;
using System.IdentityModel.Tokens;
using System.Security.Claims;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Dlbr.CommonLogin.IdentityModel.Lo... |
//------------------------------------------------------------------------------
// <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 System;
using System.Linq;
using System.IO;
using NUnit.Framework;
using FastCgiNet;
namespace FastCgiNet.Tests
{
[TestFixture]
public class EndRequestRecordTests
{
[Test]
public void SetAndGetNegativeApplicationStatus()
{
var rec = new EndRequestRecord(1);
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Basket.API</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/sit... |
// 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.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Microsoft.EntityFrameworkCore.Meta... |
@using E_commerce_app
@using E_commerce_app.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System;
namespace TestSimpleTypes3
{
/// <summary>
/// Execute tests
/// </summary>
class Test
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
testHumman();
int j = 0;
j++;
}
... |
namespace Lambdy.Tests.Constants
{
internal static class SqlComparisionOperators
{
public static readonly string Equal = "=";
public static readonly string NotEqual = "!=";
public static readonly string GreaterThan = ">";
public static readonly string LessThan = "<";
pub... |
// <copyright file="TestRunSettings.cs" company="Automate The Planet Ltd.">
// Copyright 2020 Automate The Planet 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/... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace RetinaTest
{
[TestClass]
public class PerLineStageTest : RetinaTestBase
{
[TestMethod]
public void TestBasicPerLineMode()
{
AssertProgram(new TestSuite
... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("XamForms.Enhanced.iOS")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration(""... |
using System.Management.Automation;
using CodeOwls.PowerShell.Provider;
namespace CodeOwls.RoslynDomProvider
{
[System.Management.Automation.Provider.CmdletProvider("RoslynDom", System.Management.Automation.Provider.ProviderCapabilities.ShouldProcess)]
public class RoslynDomProvider : Provider
{
pr... |
using Microsoft.AspNetCore.Mvc;
using Resgrid.Model;
using Resgrid.Model.Services;
using System.Collections.Generic;
using Resgrid.Web.Services.Controllers.Version3.Models.Chat;
using Microsoft.Extensions.Options;
using Resgrid.Web.Options;
using System.Threading.Tasks;
using Resgrid.Web.Services.Controllers.Version3.... |
// Copyright(c) Microsoft Corporation
// 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
//
// THIS CODE IS PROVIDED ON AN *... |
/**
* 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 m... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JoinRpg.Data.Interfaces;
using JoinRpg.Helpers;
using JoinRpg.Services.Interfaces;
using JoinRpg.Web.Models;
using JoinRpg.Web.Models.Schedules;
using JoinRpg.WebPortal.Managers.Schedule;
using Microsoft.AspNetCore.Authorization;
u... |
@using VSWebApp
@using VSWebApp.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System;
namespace StudentsLabs.APIControllers.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Describes a type model.
/// </summary>
public abstract class ModelDescription
{
public string Documentation { get; set; }
public Type ModelType { get; set; }
public str... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using System.Text.Json;
using System.Text.RegularExpressions;
using Nuke.Common;
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tooling;
using Nuke.Common.... |
using System.Data.Entity;
using EmployeeDirectory.Web.Models.SeedData;
namespace EmployeeDirectory.Web.Models.SqlServer
{
public class EmployeeDbSqlServerInitializer : CreateDatabaseIfNotExists<EmployeeDbContext>
{
protected override void Seed(EmployeeDbContext context)
{
base.Seed(... |
using System.Waf.Applications;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Test.InformationManager.AddressBook.Modules.Applications.Views;
using Waf.InformationManager.AddressBook.Modules.Applications.ViewModels;
namespace Test.InformationManager.AddressBook.Modules.Applications.ViewModels
{
[TestCl... |
// Jeebs Rapid Application Development
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2013
using System.Threading.Tasks;
using Jeebs.Data;
namespace Jeebs.Auth.Data;
/// <summary>
/// Provides Authentication functions for interacting with Roles
/// </summary>
/// <typeparam name="TRoleEntity">Role En... |
using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using Frapid.Account.DAL;
using Frapid.Account.Emails;
using Frapid.Account.Models.Frontend;
using Frapid.Account.ViewModels;
using Frapid.Areas;
using Frapid.Areas.CSRF;
using Frapid.Framework.Extensions;
using Frapid.WebsiteBuilder.Controllers;
names... |
using System;
using System.Data;
using CMS.Base.Web.UI;
using CMS.Forums;
using CMS.Helpers;
using CMS.SiteProvider;
using CMS.UIControls;
public partial class CMSModules_Forums_Controls_Forums_ForumModerators : CMSAdminEditControl
{
#region "Variables"
protected int mForumId = 0;
protected ForumInfo f... |
//------------------------------------------------------------------------------
// <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.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Chartreuse.Today.Core.Shared.Net;
using Chartreuse.Today.Exchange.Model;
namespace Chartreuse.Today.Exchange.ActiveSync.Commands
{
public class FolderSyncCommandResult : ASResponseParserBase
{
public string SyncKey { get... |
using System;
using System.Collections.Generic;
using System.Text;
using WanVet.Infrastructure.Read;
namespace WanVet.Micro.CalendarManagement.Read.Domain.Model.CalendarModel.Queries
{
public class GetCalendarFreeSpotsQuery : IQuery<List<string>>
{
public GetCalendarFreeSpotsQuery(Guid id, string date... |
using Microsoft.WindowsAzure.Storage.Blob;
using StorageTestLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Management.Storage.ScenarioTest.Performance.Helper
{
public class PageBlobUploadOperation : AbstractBlobUploadOperation
{
public PageBlobUplo... |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... |
// 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 ma... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace _2016MT45WebApi.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
///... |
using VoxCake.Serialization;
namespace VoxCake.Packet.Tests.Packets
{
public struct TestPacket_1 : IPacket
{
public int age;
public string name;
public long time;
public short dick;
public void Serialize(ref SerializationStream stream)
{
stream.W... |
using SignaturePad.Forms;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SignaturePadSample.Views
{
[XamlCompilation(XamlCompilationOptions.Compil... |
/*
* 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
*
... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
//------------------------------------------------------------------------------
// <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;
namespace BehaviorTreeLib.Composites
{
public class RandomSelector : BehaviorTreeNode
{
private int _currentPosition;
public RandomSelector()
{
_children = new List<BehaviorTreeNode>();
_currentPosition = -1;
... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Notifications
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class ToastCollectionManager
{
#if __ANDROID__ || __IOS__ || NET46 || __WAS... |
// ----------------------------------------------------------------------------------
//
// 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... |
// *** 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.Xml.Linq;
namespace XBrowserProject.Html
{
public class XColgroupElement : XBrowserElement
{
public XColgroupElement(XBrowserDocument doc, XElement node) : base(doc, node, XBrowserElementType.Colgroup, null)
{
}
}
} |
//------------------------------------------------------------------------------
// <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>
//-----------------------------------------... |
// <copyright file="ShippingPaymentPage.Map.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet 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.apa... |
// Copyright (c) 2020 Yann Crumeyrolle. All rights reserved.
// Licensed under the MIT license. See LICENSE in the project root for license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if SUPPORT_SIMD
using System.Runtime.Intrinsics;
using System.Runtime.Int... |
using me.cqp.luohuaming.GenshinQuery.Sdk.Cqp.EventArgs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace me.cqp.luohuaming.GenshinQuery.Sdk.Cqp.Interface
{
/// <summary>
/// 酷Q退出事件接口
/// <para/>
/// Type: 1002
/// </summary>
public int... |
using System;
//TODO - call on unmanaged code in mednadisc if available to do deinterleaving faster. be sure to benchmark it though..
//a decent little subcode reference
//http://www.jbum.com/cdg_revealed.html
//NOTES: the 'subchannel Q' stuff here has a lot to do with the q-Mode 1. q-Mode 2 is different,
//and q-... |
using Xunit;
public class RolePlayingGameTests
{
[Fact]
public void Describe_wizard()
{
var wizard = new Wizard();
Assert.Equal("Character is a Wizard", wizard.ToString());
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Describe_warrior()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fruit_or_Vegetable
{
class Program
{
static void Main(string[] args)
{
string product = Console.ReadLine();
if (product == "banana" || product ... |
using System.Text.Json.Serialization;
using System.ComponentModel.DataAnnotations;
namespace Messages.Api.Models
{
public class WriteMessageRequest
{
[Required, MaxLength(512), JsonPropertyName("message")]
public string Message { get; set; }
}
} |
using System;
using System.Collections.Generic;
#nullable disable
namespace StoreAppDBContext.Models
{
public partial class OrderProduct
{
public int OrderId { get; set; }
public int ProductId { get; set; }
public int Quantity { get; set; }
public virtual Order Order { get; s... |
/* $Id$
* ======================================================================
*
* Copyright 2010-2018 EMBL - European Bioinformatics Institute
*
* 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 ... |
//----------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//----------------------------------------------------------------------------------------------
n... |
// Smdn.Fundamental.Uri.dll (Smdn.Fundamental.Uri-3.0.1 (net45))
// Name: Smdn.Fundamental.Uri
// AssemblyVersion: 3.0.1.0
// InformationalVersion: 3.0.1 (net45)
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
using System;
using System.Collections.Generic;
namespace Smdn {
public... |
using CK.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace CK.StObj.TypeScript.Tests.CrisLike
{
/// <summary>
/// Defines an extensible set of properties that are global
/// to a Client/Server context: the <see cref="IAmbientValuesCollectCommand"/> sent to
/// the endpo... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace LogicDemo
{
class Configuration
{
public readonly static IConfigurationRoot Current;
private Configuration() { }
static Configuration()
{
... |
//------------------------------------------------------------------------------
// <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>
//--... |
namespace OpenMVVM.WebView.Android
{
using System.Text;
using global::Android.App;
using Newtonsoft.Json;
public class AndroidBridge : Bridge
{
private const string JsContextName = "OpenMVVM";
private const string JsFunction = "receiveMessage";
private global::Android.We... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace mvc.Migrations
{
public partial class MyOBjectItem : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "MyObjects",
... |
using Cake.Core;
using Cake.Core.Annotations;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Cake.Kubectl
{
partial class KubectlAliases
{
/// <summary>
/// Mark the provided resource as paused
///
///
/// Paused resources will not be reconciled by a cont... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.