text stringlengths 1 932k |
|---|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Text;
using FluentAssertions;
using URSA;
using URSA.Security;
using URSA.Web;
using URSA.Web.Converters;
using URSA.Web.Http;
namespace Given_instance_of_the
{
[Exclud... |
using Dnn.PersonaBar.Extensions.Components.Dto;
using Dnn.PersonaBar.Extensions.Components.Editors;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Services.Installer.Packages;
using DotNetNuke.Web.Api;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using Vanjaro.Common.ASPNET.WebAPI;
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// 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.
// Description:
// RightsManagementPolicy enum for determining what RM will allow.
using System;
namespace MS.I... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#region Usings
using System;
using System.Globalization;
using System.Windows.Media;
using ICSharpCode.Data.EDMDesigner.Core.... |
// Python Tools for Visual Studio
// 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
//... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2016 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Item", menuName = "CyberSlash/Item")]
public class Item : ScriptableObject{
public int Id;
public string Name;
public Sprite sprite;
public string description;
public int HowManyC... |
using System;
using NetOffice;
namespace NetOffice.VisioApi.Enums
{
/// <summary>
/// SupportByVersion Visio 11, 12, 14, 15
/// </summary>
[SupportByVersionAttribute("Visio", 11,12,14,15)]
[EntityTypeAttribute(EntityType.IsEnum)]
public enum VisPageTypes
{
/// <summary>
/// SupportByVersion Visio 11, 12... |
@model QuoteBlock
<blockquote>
@Html.Raw(Model.Body)
</blockquote> |
using System.Reflection;
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("AWSSDK.StorageGateway")]
[assembly: Assemb... |
@model Octopus_project.Models.ResetPasswordViewModel
@{
ViewBag.Title = "Reset password";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Reset your password.</h4>
<hr />
... |
// 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.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.451/blob/master/LICENSE
*
*/
#endregion
using System.Collections.Generic;
using System.Drawing;
namespace Extende... |
using System;
using System.IO;
namespace Org.BouncyCastle.Crypto.Tls
{
/**
* RFC 5246 7.4.1.4.1
*/
public class SignatureAndHashAlgorithm
{
protected readonly byte mHash;
protected readonly byte mSignature;
/**
* @param hash {@link HashAlgorithm}
*... |
/*
* 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 System;
using IFSSharedObjects.Models;
namespace IFSComparer.Measures
{
/// <summary>
/// This measure was proposed in:
///
/// Some similarity measures of intuitionistic fuzzy sets
/// and their applications to multiple attribute decision making.
///
/// DOI: 10.1007/s10700-007-9004-z
///
//... |
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... |
using Bit.Core.Contracts;
using Hangfire.Logging;
using System;
namespace Bit.Hangfire.Implementations
{
public class HangfireBackgroundJobWorkerLogProvider : ILog, ILogProvider
{
public virtual IDependencyManager DependencyManager { get; set; } = default!;
public virtual ILog GetLogger(strin... |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... |
// *** 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Aw... |
using System.ComponentModel.DataAnnotations;
using Abp.MultiTenancy;
namespace FengWo.Authorization.Accounts.Dto
{
public class IsTenantAvailableInput
{
[Required]
[StringLength(AbpTenantBase.MaxTenancyNameLength)]
public string TenancyName { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPPatterns.Chap4.AnemicModel.AppService;
using ASPPatterns.Chap4.AnemicModel.AppService.Messages;
namespace ASPPatterns.Chap4.AnemicModel.UI.Web
{
public partial class ... |
using System.Collections.Generic;
using Toggle.Net.Configuration;
using Toggle.Net.Providers;
using Toggle.Net.Specifications;
namespace Toggle.Net.Internal
{
public class ToggleChecker : IToggleChecker
{
private readonly IEnumerable<IFeatureProvider> _featureProviders;
private readonly IToggleSpecification _de... |
using System;
using System.Collections.Generic;
using System.IO;
namespace RyLogViewer
{
/// <summary>Data provided when configuring a custom log data source</summary>
public class LogDataSourceConfig
{
public LogDataSourceConfig(IMainUI main_ui, IEnumerable<string> output_filepath_history)
{
MainUI = main_... |
/*
* 此文件由T4引擎自动生成, 请勿修改此文件中的代码!
*/
using System;
using System.Text;
using System.Reflection;
using System.Runtime.InteropServices;
using Native.Core;
using Native.Core.Domain;
using Native.Sdk.Cqp;
using Native.Sdk.Cqp.Enum;
using Native.Sdk.Cqp.EventArgs;
using Native.Sdk.Cqp.Interface;
using Native.Sdk.Cqp.Expand;
... |
using System;
using System.Linq;
namespace Shibusa.Transformations
{
/// <summary>
/// Providers formatting for U.S. phone numbers.
/// </summary>
public sealed class SocialSecurityNumberFormatter : IFormatProvider, ICustomFormatter
{
/// <summary>
/// Converts the value of a specif... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
//... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections;
using UnityEngine;
/// <summary>
/// Lerps the object's material from FlashColor to the original color over time.
/// </summary>
public cl... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Moq;
using Restaurant.Server.Api.Abstraction.Facades;
using Restaurant.Server.Api.Providers;
using Xunit;
namespace Restaurant.Server.Api.Uni... |
using Newtonsoft.Json;
namespace VoiceBridge.Most.VoiceModel.GoogleAssistant.ActionSDK
{
public class CarouselBrowse
{
[JsonProperty("items")]
public CarouselItem[] CarouselItems { get; set; }
[JsonProperty("imageDisplayOptions")]
public string ImageDisplayOptions { get... |
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the New BSD
License (BSD) as published at http://avalondock.codeplex.com/license
For more features, controls, and fast ... |
namespace com.tk.dam.Views
{
partial class XtraUserControlBase
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MDS.WebAPI.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return ... |
// 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.Collections;
namespace DotNetNuke.Common.Utilities
{
public static class DictionaryE... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace COD.Kinesis.Client.Serialization
{
public interface IMessageSerializer
{
T Deserialize<T>(byte[] array, int length);
T Deserialize<T>(Stream stream, int length);
T Deserialize<T>(byte[] arr... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Tracing;
using BuildXL.Utilities.Tracing;
using Test.BuildXL.TestUtilities.Xunit;
using Xunit;
namespace Test.BuildXL.Utilities
{
public c... |
namespace TensorShader.Operators.TrinaryArithmetric {
/// <summary>Clamp</summary>
internal class Clamp : TrinaryArithmetric {
/// <summary>コンストラクタ</summary>
public Clamp(Shape shape)
: base(shape) { }
/// <summary>操作を実行</summary>
public override void Execute(params ... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Rocket.Surgery.Conventions;
using Rocket.Surgery.Conventions.Configuration;
using Rocket.Surgery.LaunchPad.Serilog.Conventions;
using Serilog;
using Serilog.Extensions.Logging;
[assembly: Convention(typeof(SerilogReadFromConfigurationC... |
// 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.Threading;
using Xunit;
namespace System.Tests
{
public class EnvironmentTickCount
{
[... |
using UnityEngine;
using System;
namespace RTEditor
{
/// <summary>
/// Holds settings which control the way in which an object selection box is rendered.
/// </summary>
[Serializable]
public class ObjectSelectionBoxRenderSettings
{
#region Private Variables
/// <summary>
... |
// 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 StarkPlatform.Compiler.Stark.Extensions;
using StarkPlatform.Compiler.Stark.Extensions.ContextQuery;
using StarkPlatform.Compiler.Stark.Syntax;
using S... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable 1591
namespace OpenCvSharp
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
internal unsafe struct WCvStereoBMState
{
public int preFilterType;
p... |
// OData .NET Libraries
// 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/LICE... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using starshipxac.Shell.Interop;
using starshipxac.Windows.Shell.Interop;
namespace starshipxac.Windows.Shell.Controls.Explorers.Interop
{
/// <summary>
/// </summary>
/// <remarks>
/// http://msdn.microsoft... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452/blob/master/LICENSE
*
*/
#endregion
namespace Common
{
public enum SupportedHashAlgorithims
{
... |
using System;
using System.Threading.Tasks;
using Application.Comments;
using MediatR;
using Microsoft.AspNetCore.SignalR;
namespace API.SignalR
{
public class ChatHub : Hub
{
private readonly IMediator _mediator;
public ChatHub(IMediator mediator)
{
_mediator = mediator;
... |
// Copyright 2022 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 ... |
using System;
using Tweetinvi;
using Tweetinvi.Models;
using Tweetinvi.Parameters;
namespace Examplinvi.NETStandard
{
class Program
{
static void Main(string[] args)
{
Auth.SetUserCredentials("CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN", "ACCESS_TOKEN_SECRET");
va... |
namespace DesignTE.View.Dialogs
{
partial class IconSelector
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
namespace LimFx.Business.Models
{
public interface ISearchAble
{
string SearchAbleString { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlaceInFrontOfCam : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
} |
using System.Collections.Generic;
using Blockcore.Consensus.ScriptInfo;
using Blockcore.Networks.Strax.ScriptTemplates;
namespace Blockcore.Networks.Strax.Policies
{
/// <summary>
/// Strax-specific standard transaction definitions.
/// </summary>
public class StraxStandardScriptsRegistry : StandardSc... |
/*
* Copyright 2010-2013 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.
// See the LICENSE file in the project root for more information.
using System;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Testing;
using NSubstitute;
using Xunit;
na... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/imapi2.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropService... |
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace X.PagedList.Mvc.Example.Core.Controllers
{
public class HomeController : Controller
{
public IActionResult Index(int page = 1)
{
ViewBag.Names = GetPagedNames(page);
return View();
}
... |
//------------------------------------------------------------------------------
// <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>
//--... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Icris.GremlinQuery.Tests
{
[TestClass]
public class AdvancedQuerySet
{
[TestMethod]
public void AdvancedQueryTestAddEdge()
{
Assert.AreEqual("g.V('andre.boonzaaijer@icris.nl').addE('knows').to(g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Yudansha
{
public partial class InsertNewStudent : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} |
using System.Threading.Tasks;
using Grimoire.Core.Services;
using Grimoire.Data;
using Grimoire.Data.Models;
using Grimoire.Explore;
using Grimoire.Explore.Attributes;
using Grimoire.Line.Api.Webhook.Source;
using Microsoft.Extensions.Logging;
namespace Grimoire.Core.Package
{
public class AdminPackage: PackageBas... |
//------------------------------------------------------------------------------
// <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 dll_pet_shop.Join
{
public class ClienteBrinquedo
{
public int ClienteId { get; set; }
public Cliente Cliente { get; set; }
public int BrinquedoId { get; set; }
public Brinquedo Brinquedo { get; set; }... |
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using System;
namespace Ude.Core
{
public class HebrewProber : CharsetProber
{
private const byte FINAL_KAF = 234;
private const byte NORMAL_KAF = 235;
private const byte FINAL_MEM = 237;
private const byte NORMAL... |
// *** 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) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
using System;
using System.Runtime.CompilerServices;
using Cosmos.Logging.Events;
namespace Cosmos.Logging {
/// <summary>
/// Interface for logger
/// </summary>
public partial interface ILogger {
/// <summary>
/// Log verbose
/// </summary>
/// <param name="logTrack">... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawnerScript : MonoBehaviour
{
public List<Transform> SpawnPositions;
public List<RuntimeAnimatorController> NPCAnimations;
public GameObject NPCPrefab;
private List<RuntimeAnimatorController> staticNPCAn... |
using Microsoft.MixedReality.Toolkit;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static MuseNote;
public class NoteManager : MonoBehaviour
{
GameObject fretboard;
public GameObject noteBubblePrefab, ghostBubblePrefab;
float scaleLength = 0;
publ... |
namespace Nancy
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nancy.Bootstrapper;
using Cookies;
using Diagnostics;
using ErrorHandling;
using Routing;
using Helpers;
... |
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("SQ... |
using System;
namespace Sortieren
{
class Program
{
private static int[] zahlen;
private static int[] scratch;
static DateTime start = DateTime.Now;
static Random rnd = new Random();
static void Main()
{
Console.WriteLine("MergeSort: 1000 Zahlen..... |
//------------------------------------------------------------------------------
// <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.ComponentModel.DataAnnotations;
namespace Alabo.App.Asset.Coupons.Domain.Enums
{
/// <summary>
/// 有效期方式
/// </summary>
public enum CouponTimeLimit
{
/// <summary>
/// 领券后多少天
/// </summary>
[Display(Name = "领券后多少天")] Days = 1,
/// <summ... |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
namespace GovITHub.Auth.Identity.API
{
[Rout... |
//========= Copyright 2016, HTC Corporation. All rights reserved. ===========
using UnityEngine;
using HTC.UnityPlugin.Utility;
namespace HTC.UnityPlugin.Pointer3D
{
public class ProjectileGenerator : BaseRaySegmentGenerator
{
public float velocity = 2f;
public Vector3 gravity = Vector3.down;... |
namespace eWAY.Rapid.Enums
{
/// <summary>
/// Possible values returned from the responsive shared page beagle verify feature.
/// </summary>
public enum BeagleVerifyStatus
{
/// <summary>
/// No attempt at verification was made
/// </summary>
NotVerified,
//... |
/*
* 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
*
... |
namespace InitiateNorth.DirectoryHelper
{
using CSharpFunctionalExtensions;
using System.Text.RegularExpressions;
/// <summary>
/// Represents a fully qualified domain name.
/// </summary>
public class Fqdn
{
/// <summary>The regex for a valid FQDN.</summary>
private const ... |
public class MonsterSetPositionAndTimeJump : Action // TypeDefIndex: 10910
{
// Fields
public SharedVector3 ArrivePosition; // 0x50
public SharedFloat JumpTime; // 0x58
public SharedVector3 ReturnJumpVelocity; // 0x60
public static readonly string JumpTimeKeyName; // 0x0
public static readonly string JumpArrivePo... |
using UnityEngine;
public class Laser : MonoBehaviour
{
private LineRenderer lr;
// Use this for initialization
void Start()
{
lr = GetComponent<LineRenderer>();
}
// Update is called once per frame
void Update()
{
lr.SetPosition(0, transform.position);
RaycastHit hit;
if (Physics.Raycast(transform.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace LocalCinema.Api.Internal.Controllers
{
[ApiController]
[Route("[controller]")]
public class ReviewsController : ControllerBase
{... |
using Messages;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Server
{
class RoomsListeningState : MonoBehaviour
{
[SerializeField]
private float roomsRequestPeriod;
private Observable observable;
private Udp udp;
... |
using Content.Shared.Atmos;
using Content.Shared.Damage;
using Robust.Shared.GameObjects;
using Robust.Shared.Physics;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Temperature.Components
{
/// <summary>
/// Handles changing temperature,
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Util
{
public static int difficultyLevel = 1;
public static bool isGameOver = false;
public static int playerHealth = 5;
} |
// 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// SpscTargetCore.cs
//... |
//
// System.Security.AccessControl.SystemAcl implementation
//
// Authors:
// Dick Porter <dick@ximian.com>
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software ... |
// *** 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... |
/*
* 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.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Represents a single character, their stats, name and current mojo (or hp) in the dance battle.
///
/// TODO:
/// Initialise stats for the character that will be used to determine their victory in dance offs.
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Cats.Areas.EarlyWarning.Models
{
public class ContributionViewModel
{
public int ContributionID { get; set; }
public int Year { get; set; }
public string HRD { get; set; }
public int ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
namespace Link
{
[Group]
[RequireContext(ContextType.Guild)]
public class MusicCommands : ModuleBase<SocketCommandContext>
... |
/*
* 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 Consul;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TinyS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace eProjects.Data.Migrations
{
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
namespace MegatubeV2
{
internal static class OperationSelector
{
private static Regex dateParseRegex;
static OperationSelector()
{
... |
//
// Copyright 2017, 2018-2020 Carbonfrost Systems, Inc. (http://carbonfrost.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
//
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.