text stringlengths 1 932k |
|---|
/*
* 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.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Patrol_Up_Down : MonoBehaviour
{
public float speed = 40.0f;
public bool TurnAroundFlag = false;
public int TurnAroundCounter = 0;
// Start is called before the first frame update
void Start()
{
... |
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("11.... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.VisualStudio.LanguageServices.CSharp.Options
{
internal static class IntelliSenseOptionPageStrings
{
public static string ... |
#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2015 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fo... |
//------------------------------------------------------------------------------
// <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>
//---... |
// 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.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace CoreGame
{
public class DynamicComputeBufferManager<T> where T : struct
{
private ComputeBuffer customComputeBuffer;
private List<T> computeBufferData;
private BufferReAllocateStrategy BufferReAllocateStrateg... |
using System.Globalization;
using BuildNotifications.Core.Config;
using NSubstitute;
using Xunit;
namespace BuildNotifications.Core.Tests.Config
{
public class ConfigurationBuilderTests
{
[Fact]
public void EmptyConfigurationShouldHaveCorrectName()
{
// Arrange
... |
using System.ComponentModel;
using Promitor.Core.Scraping.Configuration.Serialization;
using Promitor.Core.Scraping.Configuration.Serialization.v1.Model;
using Promitor.Core.Scraping.Configuration.Serialization.v1.Model.ResourceTypes;
using Promitor.Core.Scraping.Configuration.Serialization.v1.Providers;
using Xunit;
... |
using Dinopark.Life;
using UnityEngine;
namespace Assets.Gamelogic.ComponentExtensions
{
static class HealthExtensions
{
public static void SetCanBeChanged(this HealthWriter health, bool canBeChanged)
{
var update = new Health.Update()
{
CanBeChanged = c... |
// <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.Jag.Spice.Interfaces
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Co... |
using AAMod.Items.Blocks;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace ElementalHearts.Items.Consumables.AncientsAwakened
{
internal class OrangeIceHeart : AncientsAwakaenedCrossModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Perma... |
using System;
using System.Text.RegularExpressions;
using Eto.Forms;
using Eto.Drawing;
using Eto.GtkSharp.Drawing;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Eto.GtkSharp.Forms
{
public interface IGtkControl... |
namespace dBASE.NET.Tests
{
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class CustomEncoding2
{
private readonly List<DbfField> fields;
private readonly Dictionary<string, object... |
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("Pro... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using System;
using tsorcRevamp.Projectiles.Enemy;
using static tsorcRevamp.SpawnHelper;
namespace tsorcRevamp.NPCs.Enemies {
class Parasprite : ModNPC {
public override void SetDefaults() {
npc.width =... |
using UnityEngine;
using System.Collections;
using System.Reflection;
public class NavTest : MonoBehaviour {
public Transform target;
private UnityEngine.AI.NavMeshAgent navMeshAgent;
void Start()
{
navMeshAgent = GetComponent<UnityEngine.AI.NavMeshAgent>();
//gameObject.AddComponent("FsmIo");
}
void... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TOCManager.Entities
{
public class ProductDefinition : IProjectsEntityBase
{
public int ID { get; set; }
public int ProjectId { get; set; }
public string Name... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código se generó a partir de una plantilla.
//
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
// Los cambios manuales en este archivo se sobrescribi... |
using System;
namespace WeatherMerge
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
} |
using System;
namespace TiffLibrary
{
/// <summary>
/// A value representing the offset from the begining of the TIFF file stream.
/// </summary>
public readonly struct TiffStreamOffset : IEquatable<TiffStreamOffset>, IComparable<TiffStreamOffset>
{
/// <summary>
/// Gets the offse... |
using System;
namespace Wordgeon
{
public static class Program
{
[STAThread]
static void Main()
{
GameDictionary.Load();
using (var game = new WordgeonGame())
game.Run();
}
}
} |
using System.Collections.Generic;
using System.Linq;
namespace StatTranslator {
public class EnglishLanguage : ILocalizedLanguage {
public bool WarnIfMissing => true;
public EnglishLanguage(Dictionary<string, string> existingTags) {
foreach (string tag in existingTags.Keys) {
... |
// 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.Buffers;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Linq;
namespace Hagar.TestKit
{
[ExcludeFromCodeCoverage]
public class TestMultiSegmentBufferWriter : IBufferWriter<byte>, IOutputBuffer
{
pr... |
using System;
using UIKit;
namespace TwinTechs.Gestures
{
public class NativeTapPressGestureRecgonizer : BaseNativeGestureRecognizer<UITapGestureRecognizer,TapGestureRecognizer>, ITapGestureRecognizer
{
public NativeTapPressGestureRecgonizer ()
{
}
protected override void ConfigureNativeGestureRecognizer (... |
using Gnu.Licensing.Core.Entities;
using Gnu.Licensing.Sqlite.Configuration;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
namespace Gnu.Licensing.Sqlite
{
public class SqliteContext : AbstractContext<SqliteContext>
{
/// <summary>
/// The Sqlite error code for when a uniq... |
using Verse;
using AbilityUser;
using System.Collections.Generic;
using RimWorld;
namespace TorannMagic
{
public class Effect_ShadowBolt : Verb_UseAbility
{
bool validTarg;
public override bool CanHitTargetFrom(IntVec3 root, LocalTargetInfo targ)
{
if (targ.IsValid && ... |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... |
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("Al... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SteamVrFade : MonoBehaviour {
private float _fadeDuration = 1f;
// Use this for initialization
void Start () {
//FadeToWhite();
//Invoke("FadeFromWhite", _fadeDuration);
}
// Update is call... |
using UnityEngine;
using UnityEngine.Events;
using LightSettings;
namespace LightSettings {
// Light 2D
public class LightEvent : UnityEvent <Light2D> {}
public enum MaskEffect {Lit, Unlit, Isometric}
public enum LightLayerType {ShadowAndMask, ShadowOnly, MaskOnly}
public enum LightLayerSorting {None, Sort... |
using System;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using AspNet.Security.OpenIdConnect.Extensions;
using AspNet.Security.OpenIdConnect.Primitives;
using AspNet.Security.OpenIdConnect.Server;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspN... |
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using artiso.AdsdHotel.Yellow.Api.Services;
using artiso.AdsdHotel.Yellow.Api.Validation;
using artiso.AdsdHotel.Yellow.Contracts;
using artiso.AdsdHotel.Yellow.Contracts.Commands;
using artiso.AdsdHotel.Yellow.Events;
using N... |
// <auto-generated />
using System;
using BTCPayServer.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace BTCPayServer.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
partial class Applica... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace VirtoCommerce.Client.Model
{
/// <summary>
///
/// </summary>
[DataContract]
public class VirtoCo... |
using eFastFood_UI.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using eFastFood_PCL.Models;
using System.Net.Http;
namespace eFastFood_UI.Kateg... |
@{
ViewData["Title"] = "Oops!";
}
<!-- Custom CSS -->
<link href="~/css/style-error.css" rel='stylesheet' type='text/css' />
<div class="page">
<div class="sixteen columns">
<h3>Something went wrong!</h3>
<h3>Please try again later. If the error persists, contact the owner.</h3>
<div... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
// This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// http://autofac.org
//
// 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
// restrict... |
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("DB... |
namespace Processor
{
/// <summary>
/// The addressing modes used by the 6502 Processor
/// </summary>
public enum AddressingMode
{
/// <summary>
/// In this mode a full address is given to operation on IE: Memory byte[] { 0x60, 0x00, 0xFF }
/// would perform an ADC operation and Add the value at ADDRESS 0... |
namespace BucketList.Commands
{
using Core;
using System;
public class StatsCommand : IConsoleCommand
{
public string Name => "stats";
public ParameterCollection CheckParameters(string[] parameters)
{
if (parameters.Length == 0)
{
return... |
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using BootstrapBlazor.Shared.Common;
using BootstrapBlazor.Shared.Compone... |
/*
* Copyright (C) 2017-2019. Filament Games, LLC. All rights reserved.
* Author: Alex Beauchesne
* Date: 17 Jan 2017
*
* File: FilteredMsgTypeList.cs
* Purpose: Generates lists of message types, filtered by flags
* and IUsesMsgType queries.
*/
#if UNITY_EDITOR
using System.Collections.Generi... |
using Emmellsoft.IoT.Rpi.SenseHat;
using Emmellsoft.IoT.Rpi.SenseHat.Fonts;
using Emmellsoft.IoT.Rpi.SenseHat.Fonts.SingleColor;
using RPiXamarin.Dependency;
using RPiXamarin.UWP;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
using Color = Windows.UI.Color;
using Co... |
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("Sip... |
using System;
using System.Threading.Tasks;
using Barista.Accounting.Events.Sale;
using Barista.Accounting.Repositories;
using Barista.Accounting.Verifiers;
using Barista.Common;
using Barista.Common.OperationResults;
using Barista.Contracts.Commands.Sale;
namespace Barista.Accounting.Handlers.Sale
{
public class... |
using Microsoft.Extensions.Caching.Memory;
using System;
namespace Ocelot.RateLimit
{
public class MemoryCacheRateLimitCounterHandler : IRateLimitCounterHandler
{
private readonly IMemoryCache _memoryCache;
public MemoryCacheRateLimitCounterHandler(IMemoryCache memoryCache)
{
... |
using System;
using HotChocolate.Language;
using HotChocolate.Language.Utilities;
using Snapshooter.Xunit;
using Xunit;
namespace HotChocolate.Stitching.Merge
{
public class MergeSyntaxNodeExtensionsTests
{
[Fact]
public void AddDelegationPath_SingleComponent()
{
// arrange
... |
// <auto-generated>
// This is my custom license header. I am a nice person so please don't steal
// my code.
//
// Cheers.
// </auto-generated>
namespace AwesomeNamespace.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// The access keys for the storage account.
/// </summary>
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
using System;
using System.Runtime.CompilerServices;
public class BringUpTest
{
const int Pass = 100;
const int Fail = -1;
[MethodImplAttribute(MethodImplOptions.NoI... |
using System;
using MedicalGroup.Domains;
using MedicalGroup.Interfaces;
using Microsoft.AspNetCore.Mvc;
using MedicalGroup.Repositories;
namespace MedicalGroup.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
[ApiController]
public class LocalizacaoController : ControllerBase
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MagusAppGateway.UI.ViewModel
{
public class AuthenticationOptionsDto
{
public Guid Id { get; set; }
/// <summary>
/// APIScope名称
/// </summary>
public string AuthenticationProviderKey { get; 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.
namespace Iot.Device.Ssd13xx.Commands
{
/// <summary>
/// Represents SetDisplayOff command
/// </summar... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Wsdot.Traffic.Contracts.Elc;
namespace Wsdot.Traffic.Client
{
/// <summary>
/// A client for <see href="https://www.wsdot.wa.gov/Traffic/api/">t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR.InteractionSystem;
/**
* The class representing a non-diegetic signifier in the game
*/
public class NDSig : MonoBehaviour
{
public Transform player; // the Transform object associated with the Player object
... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.Sql.Fluent.Models
... |
@inherits ComponentBase
@inject IJSRuntime JSRuntime
<span ref="@_Element">
<input type="text"
style="width: 100%"
data-provide="slider"
data-slider-min="@Min" data-slider-max="@Max"
data-slider-step="@Step" data-slider-value="@Value"
data-slider-tooltip="@T... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using SchoolManagementSystem.Model.Models;
using System.Data.Entity.ModelConfiguration;
namespace SchoolManagementSystem.Data.Configuration
{
public class CityConfiguration:EntityTypeConfiguration<City>
{
public CityConfiguration()
{
Property(c => c.Id).HasDatabaseGeneratedOption(S... |
using System;
using System.Collections.Generic;
using System.Windows.Media.Media3D;
namespace FSim.Core.Models.Concrete
{
public class PersonAddRequestDetails : ModelAddRequestDetails
{
private readonly IModelInitializer _personInitializer;
public PersonAddRequestDetails(Point3D location, IEn... |
@{
Layout = "_Layout";
}
@using Bakery.Models;
@model FlavorTreatViewModel;
<h2>@Model.ThisTreat.Name Details</h2>
<hr />
<h3>Name: @Model.ThisTreat.Name</h3>
@if (Model.ThisTreat.JoinEntities.Count == 0)
{
<p>This treat has no flavors yet.</p>
} else
{
<h5>Flavors of this treat: </h5>
<ul>
@foreach(var... |
/////////////////////////////////////////////////////////////////////////////////////////////////
//
// Favalon - An Interactive Shell Based on a Typed Lambda Calculus.
// Copyright (c) 2018-2020 Kouji Matsui (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... |
using ATZ.MVVM.Controls.Control;
namespace ATZ.MVVM.Controls.TextBox
{
public class TextBoxModel : ControlModel
{
}
} |
using N3O.Giving.Models;
using N3O.Umbraco.Extensions;
using N3O.Umbraco.Giving.Content;
using N3O.Umbraco.Giving.Models;
using N3O.Umbraco.Lookups;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace N3O.Umbraco.Giving.Lookups {
public class DonationItem :
LookupContent<DonationItem>, IPri... |
using System.Drawing;
using ExtractorSharp.Core.Command;
using ExtractorSharp.Core.Lib;
using ExtractorSharp.Core.Model;
namespace ExtractorSharp.Command.ImageCommand {
internal class ChangeSize : ICommand,ICommandMessage{
private Album _album;
private Bitmap[] _array;
private int[] _ind... |
@{ Register assembly="Model" namespace="Model.DocumentFlowManagement" tagprefix="cc1" }
@using Model.DocumentFlowManagement
<asp:DropDownList ID="selector" runat="server" DataTextField="Expression"
DataValueField="CompanyID" EnableViewState="false" OnDataBound="selector_DataBound">
</asp:DropDownList>
<cc1:Document... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Flatwhite
{
/// <summary>
/// Provide method to create instance of service to refresh the stale cache
/// </summary>
public interface ICacheDependencyScope : IDisposable
{
/// <summary>
... |
//----------------------------------------------------------------------------------------------------------
// X-PostProcessing Library
// Copyright (C) 2020 QianMo. All rights reserved.
// Licensed under the MIT License
// You may not use this file except in compliance with the License.You may obtain a copy of the L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IdentityServer.Models.Account
{
public class LoginViewModel : LoginInputModel
{
public bool AllowRememberLogin { get; set; } = true;
public bool EnableLocalLogin { get; set; } = true;
... |
using Naveego.Sdk.Plugins;
namespace PluginNCR.Helper
{
public class ServerStatus
{
public ConfigureRequest Config { get; set; }
public Settings Settings { get; set; }
public bool Connected { get; set; }
public bool WriteConfigured { get; set; }
}
} |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.CosmosDB.Fluent
{
... |
using System;
namespace VOU.Authentication.External
{
public class ExternalLoginProviderInfo
{
public string Name { get; set; }
public string ClientId { get; set; }
public string ClientSecret { get; set; }
public Type ProviderApiType { get; set; }
public ExternalLog... |
// 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.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.Telemetry;
namespace Microsoft.Visual... |
@using Abp.Web.Security.AntiForgery
@model Afonsoft.Portal.Web.Models.Ui.LoginModel
@inject IAbpAntiForgeryManager AbpAntiForgeryManager
@{
AbpAntiForgeryManager.SetCookie(Context);
}
<head>
<title>Portal</title>
<link href="~/view-resources/Views/Ui/Login.css" rel="stylesheet" asp-append-version="true"/>... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Protocols.TestTools.Messages.Marshaling
{
/// <su... |
using Codeless.SharePoint.Internal;
using Microsoft.SharePoint;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
namespace Codeless.SharePoint {
/// <summary>
/// Provides caching and uniqueness to database persisted SharePoint... |
using System;
namespace Artemis.Exceptions
{
internal class ObjectTypeUnhandledException : Exception
{
internal ObjectTypeUnhandledException(object obj) : base(GenerateMessage(obj))
{
}
private static string GenerateMessage(object obj)
{
return $"Unhandled ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HarvesterImage : MonoBehaviour
{
public Image m_Image;
public Harvester harvester;
public Sprite m_Sprite;
public void OnReceivingCreature(Criatura criatura)
{
Debug.Log("chegou aqui");
var spr... |
// *** 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;
namespace MTGAHelper.Web.Models.Response.User
{
public class UserStatsLimitedResponseSummary
{
public string Set { get; set; }
public string DraftType { get; set; }
public int EventsCount { get; set; }
public float WinCountAverage... |
using ASTRA.EMSG.Common.Enums;
namespace ASTRA.EMSG.Web.Areas.Auswertungen.ReportGridCommands
{
public class EineListeVonMassnahmenGegliedertNachTeilsystemenGridCommand : GisReportGridCommand
{
public string Projektname { get; set; }
public int? Status { get; set; }
public StatusTyp? S... |
using GGsDB.Entities;
using GGsDB.Models;
using System.Collections.Generic;
namespace GGsDB.Mappers
{
public interface IVideoGameMapper
{
VideoGame ParseVideoGame(Videogames videogame);
Videogames ParseVideoGame(VideoGame videogame);
List<VideoGame> ParseVideoGame(ICollection<Videogames... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using FSS.Omnius.Modules.Entitron.Entity.Master;
namespace FSS.Omnius.Modules.Entitron.Entity.Cortex
{
public enum ScheduleType
{
DAILY = 1, WEEKLY = 2, MONTHLY = 4, ONCE = 8, ONIDLE = 16
... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using PlanthorWebApiServer.Context;
using PlanthorWebApiServer.Datamodel;
namespace PlanthorWebApiServer.Controllers
{
[Route("api/[cont... |
///////////////////////////////////////////////////////////////////////////////////////////////
//
// This File is Part of the CallButler Open Source PBX (http://www.codeplex.com/callbutler
//
// Copyright (c) 2005-2008, Jim Heising
// All rights reserved.
//
// Redistribution and use in source and binary f... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc;
namespace CorsMiddlewareWebSite
{
[Route("CorsMiddleWare/[action]")]
public class BlogController :... |
// -----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primi... |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using Twilio.Clients;
using Twilio.Converters;
using Twilio.Exceptions;
using ... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Drawing shape.
/// </summary>
public class DrawingShape : MonoBehaviour {
public static int current_shape_id = 1;//current or selected shape
} |
using System;
using System.Threading.Tasks;
using Bibliotheca.Server.Gateway.Core.DataTransferObjects;
using Bibliotheca.Server.Gateway.Core.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization.Infrastructure;
namespace Bibliotheca.Server.Gateway.Core.Policies
{
public class... |
using Android.App;
using Android.OS;
using MikePhil.Charting.Charts;
using MikePhil.Charting.Data;
using MikePhil.Charting.Components;
using MikePhil.Charting.Interfaces.Datasets;
using Android.Content.PM;
using Android.Views;
using Android.Widget;
using System.Linq;
using Android.Graphics;
using System.Collections.Ge... |
/*
| 个人微信:InnerGeeker
| 联系邮箱:LoongEgg@163.com
| 创建时间:2020/4/20 22:16:29
| 主要用途:
| 更改记录:
| 时间 版本 更改
*/
using LoongEgg.LoongLogger;
using System;
namespace LoongEgg.MathPro
{
// TODO: 33-数学运算和函数运算的核心方法
public static partial class ReversePolishNotation
{
/// <summary>
/// 普通计算
... |
/*
* 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 DependencyScannerDotnet.Core.Model;
using DependencyScannerDotnet.Core.Services;
using NuGet.Versioning;
using NuniToolbox.Collections;
using NuniToolbox.Ui.Commands;
using NuniToolbox.Ui.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SirJosh3917 {
public static class MessageAlgorithms {
/*
* About twice as fast as V1
*
* Takes:
*
* This:
* 267,082,559 ticks
* 63,094 ms
*
* Other:
* 473,521,805 ticks
... |
//
// 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, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.