text stringlengths 1 932k |
|---|
namespace Thenewboston.Bank.Api.Models
{
internal class Message
{
public double Trust { get; set; }
}
} |
using System;
namespace WeatherApplication.Shared.Dtos.Weather
{
public struct WeatherData
{
public enum DataType
{
Temperature,
Wind,
TemperatureFeelsLike,
WindDirection
}
public short Temperature { get; set; }
public sh... |
// ------------------------------------------------------------------------------
// <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>
// ---------------------------------------... |
#region Copyright Syncfusion Inc. 2001 - 2019
//
// Copyright Syncfusion Inc. 2001 - 2019. 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 un... |
using UnityEngine;
namespace Coroutween
{
public static class AudioSourceTweens
{
public static Coroutine VolumeTo (this AudioSource source, float to, float duration, EaseType ease)
{
return Coroutween.To (source.volume, to, duration, ease, x => source.volume = x);
}
public static Coroutine VolumeTo (thi... |
// Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 Jeesu Choi
//
// 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, i... |
namespace LearningSystem.Web.Areas.Blog.Controllers
{
using Data.Models;
using Infrastructure.Extensions;
using Infrastructure.Filters;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Models;
using Services.Blog;
u... |
/*
Copyright 2018 Pitney Bowes Inc.
Licensed under the MIT License(the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License in the README file or at
https://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, softwar... |
using System;
namespace Programming.Model
{
public class Subject
{
private int _mark;
public Subject()
{
}
public Subject(string name, string lecturer, int mark)
{
Name = name;
Lecturer = lecturer;
Mark = mark;
}
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using WordSupport;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
List<WordSupport.WordRelations> foundRelated... |
using System;
using System.Drawing;
using System.Linq;
using ZeroLevel.HNSW;
using ZeroLevel.HNSW.Services;
namespace HNSWDemo.Tests
{
public class QuantizeHistogramTest
: ITest
{
private static int Count = 3000;
private static int Dimensionality = 128;
private static int Width... |
#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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Approve.RuleCenter;
using EgovaDAO;
using Tools;
using System.Data;
using ProjectData;
public partial class JSDW_ApplySGXKZGL_JSYDGHXKZList : System.Web.UI.Page
{
EgovaD... |
// Generated by UblXml2CSharp
using System.Xml;
using UblLarsen.Ubl2;
using UblLarsen.Ubl2.Cac;
using UblLarsen.Ubl2.Ext;
using UblLarsen.Ubl2.Udt;
namespace UblLarsen.Test.UblClass
{
internal class UBLCreditNote21Example
{
public static CreditNoteType Create()
{
var doc = new Credi... |
using Microsoft.Extensions.Logging;
using Solnet.Rpc.Core;
using Solnet.Rpc.Core.Http;
using Solnet.Rpc.Messages;
using Solnet.Rpc.Models;
using Solnet.Rpc.Types;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace ... |
namespace MyLab.Oas.SpecModel
{
/// <summary>
/// The Header Object follows the structure of the Parameter Object with the following changes:
/// 1. name MUST NOT be specified, it is given in the corresponding headers map.
/// 2. in MUST NOT be specified, it is implicitly in header.
/// 3. All trai... |
using System.Net;
namespace PlutoNetCoreTemplate.Api
{
public class ExceptionMiddlewareHandler
{
private readonly RequestDelegate _next;
private readonly ILogger<ExceptionMiddlewareHandler> _logger;
public ExceptionMiddlewareHandler(RequestDelegate next,
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.... |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
u... |
using Uno.Extensions;
using Windows.UI.Xaml.Media.Animation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Windows.UI.Xaml.Markup;
namespace Windows.UI.Xaml
{
[ContentProperty(Name = "Storyboard")]
public partial class VisualTransition : DependencyObject
{
internal A... |
using System;
using System.Threading.Tasks;
using JsonRpcSharp.Client;
using Nethereum.RPC.Personal;
using Xunit;
namespace Nethereum.RPC.Tests.Testers
{
public class PersonalListAccountsTester : RPCRequestTester<string[]>, IRPCRequestTester
{
[Fact]
public async void ShouldRetrieveTheAccounts... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace Signum.Entities.DynamicQuery
{
[Serializable]
public class QueryDescription
{
public object QueryName { get; private set; }
public List<ColumnDescription> Columns { get; private ... |
/*
* 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 DefineClasses4
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class SchoolClass
{
private static List<Teacher> teachers;
private string textIdentity;
//constructor
public Schoo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bitcoin3.Protocol
{
/// <summary>
/// Block headers received after a getheaders messages
/// </summary>
[Payload("headers")]
public class HeadersPayload : Payload
{
class BlockHeaderW... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>蛛网图</title>
<link href="~/css/framework-theme.css" rel="stylesheet" />
<script src="~/js/jquery/jquery-2.1.1.min.js"></script>
<script src="~/js/highcharts/highcharts.js"></script>
<script>
$(fun... |
using AgileDotNetHtml.Attributes;
namespace AgileDotNetHtml.Models.HtmlAttributes
{
[HtmlAttributeClass("preload", new string[] { "audio", "video" })]
public class HtmlPreloadAttribute : HtmlAttribute
{
/// <summary>
/// Initialize a new instance of AgileDotNetHtml.Models.HtmlAttributes.HtmlPreloadAttribute cl... |
using System;
namespace Ultraviolet.Core.Tests.IO
{
partial class UnsafeObjectStreamTest
{
private struct UnsafeObjectTypeOne
{
public UnsafeObjectType ObjectType;
public Int32 Value1;
}
}
} |
// 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.Composition;
using System.Threading;
using System.Threading... |
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.AntiCheatClient
{
public class AddExternalIntegrityCatalogOptions
{
/// <summary>
/// UTF-8 path to the .bin catalog file to add
/// </summary>
pu... |
namespace DigitalLibrary.MasterData.BusinessLogic.Implementations.SourceFormat
{
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using DigitalLibrary.MasterData.Ctx;
using DigitalLibrary.MasterData.DomainModel;
using DigitalLibrary.Utils.Guards;
u... |
//
// Copyright (c) 2008-2011, Kenneth Bell
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, ... |
using System;
namespace NCacheAppFabricConsoleUI
{
internal static class RemoveRegionTests
{
internal static void RemoveExistingRegion()
{
try
{
Logger.PrintTestStartInformation("Removing existing region");
string myRegion = Guid.NewGuid(... |
/*
* 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 Jal.Router.Interface;
using Jal.Router.Model.Management;
namespace Jal.Router.Impl
{
public class ConsoleHeartBeatLogger : ILogger<HeartBeat>
{
public void Log(HeartBeat info, DateTime datetime)
{
Console.WriteLine($"{info.Name} Running");
}
}
} |
using System;
using System.Globalization;
using System.Windows;
namespace Kinemat.Viewer.Utilities
{
/// <summary>
/// VisualStateHelper consists of an attached dependency property which Views utilize to trigger transitions through the VisualStateManager.
/// This encapsulation ensures that ViewModels hav... |
namespace FbagenDemo
{
class Program
{
static void Main(string[] args)
{
}
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
// ReSharper disable InconsistentNaming
namespace Microsoft.EntityFrameworkCore.Query
{
p... |
using System;
using System.Collections.Generic;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Populations;
using GeneticSharp.Domain.Randomizations;
using GeneticSharp.Domain.Selections;
using NUnit.Framework;
using NSubstitute;
namespace GeneticSharp.Domain.UnitTests.Selections
{
[TestFixture]... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
using Stormancer.Plugins;
using Stormancer.Plugins.GameVersion;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Stormancer.Plugins
{
public class GameVersionPlugin : IClientPlugin
{
internal const string METADATA_KEY = "stormancer.gameVersion";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Year_quarter
{
class Program
{
static void Main(string[] args)
{
// Date input
Console.Write("Enter a date: ");
string input = Conso... |
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class Win32ComputerSystemEvent : ExtrinsicEvent
{
public Win32ComputerSystemEvent()
{
}
public Win32ComputerSystem... |
// Copyright (c) Kornei Dontsov. All Rights Reserved. Licensed under the MIT. See LICENSE in the project root for license information.
namespace Arcanum.NsJson {
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Text;
public static class JsonStreamModule {
public ... |
// This file was modified by Kin Ecosystem (2019)
namespace Kin.Base.responses.results
{
/// <summary>
/// Operation successful.
/// </summary>
public class BumpSequenceSuccess : BumpSequenceResult
{
public override bool IsSuccess => true;
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Player : MonoBehaviour
{
private CharacterController controller;
[SerializeField]
private float speed = 5.0f;
[SerializeField]
private float gravity = 1... |
using MethodBoundaryAspect.Fody.Attributes;
using Mono.Cecil;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
namespace MethodBoundaryAspect.Fody
{
internal class MethodWeaver : IDisposable
{
private NamedInstructionBlock... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using ResidentsSocialCarePlatfo... |
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
using Abp.Authorization.Users;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using OpenPOS.Users.Authorization.Users;
namespace OpenPOS.Users.Users.Dto
{
[AutoMapTo(typeof(User))]
public class CreateUserDto : IShouldNormalize
{
... |
/*
* 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... |
namespace OnlineShop.Core
{
internal interface IPeripherals
{
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using UdemyProject1.Inputs;
using UdemyProject1.Managers;
using UdemyProject1.Movements;
using UnityEngine;
namespace UdemyProject1t.Controllers
{
public class PlayerController : MonoBehaviour
{
[SerializeField] float _turnSpee... |
using System;
using System.Threading.Tasks;
using LogParser.BLL.Services.Interfaces;
using LogParser.DataModels.Models;
using Microsoft.AspNetCore.Mvc;
namespace LogParser.Server.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class HostsController : BaseController
{
private... |
//
// Copyright (c) 2019-2022 Angouri.
// AngouriMath is licensed under MIT.
// Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.
// Website: https://am.angouri.org.
//
using AngouriMath;
using AngouriMath.Extensions;
using FluentAssertions;
using HonkSharp.Fluency;
using System;
using Sys... |
@model IEnumerable<PmmgTermsMvc.Models.Term>
@{
ViewData["Title"] = "Relatório por Data";
}
<h2>@ViewData["Title"]</h2>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<div cla... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Cms.Account.Contract")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: A... |
using System;
using System.Collections;
using System.IO;
using NUnit.Framework;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.Perception.GroundTruth;
using UnityEngine.SceneManagement;
using UnityEngine.TestTools;
#if MOQ_PRESENT
using Moq;
using Moq.Protected;
using UnityEn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace BloomFilter
{
static class BitWriter
{
[MethodImpl(MethodImplOptions.AggressiveInlining)] // this line can be removed if compiling with a... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
namespace NewBlood
{
/// <summary>Provides methods for writing to <see cref="Span{T}"/> instances.</summary>
public ref struct SpanWriter<T>
{
/// <summary>The underlying <see cref="Span{T}"/> for the writer.</summary>
public Span<T> Span { get; }
/// <summary>The cu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using DevExpress.XtraGrid.Views.Grid.ViewInfo;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraGrid.Columns;
name... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
... |
using System.Net.Http;
using System.Threading.Tasks;
using System.Net.Http.Json;
using PokemonApp.Models;
using PokemonApp.Models.DTOs;
using PokemonApp.Data;
using System.Linq;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using PokemonApp.Models.DTOs.PokemonApp.Models.DTOs;
namespace Pokemo... |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using XirgoTest.Infrastructure.Persistence;
namespac... |
//-----------------------------------------------------------------------
// <copyright file="PredicateAndHandler.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyri... |
using System;
using System.Text;
using System.Globalization;
using XobotOS.Text;
namespace java.text
{
partial class BreakIterator
{
/// <summary>
/// Returns an array of locales for which custom
/// <code>BreakIterator</code>
/// instances
/// are available.
/// <p>Note that Android does not support use... |
using System;
using System.Linq;
using SLib.Prelude;
namespace SLib.Data
{
/// <summary>
/// Module that provides common functions for numbers (where the functions are overloaded for multiple number types).
/// </summary>
public static class NumbersModule
{
/// <summary>
/// Re... |
// Copyright (C) 2012 Winterleaf Entertainment L,L,C.
//
// THE SOFTW ARE IS PROVIDED ON AN “ AS IS” BASIS, WITHOUT W ARRANTY OF ANY KIND,
// INCLUDING WITHOUT LIMIT ATION THE W ARRANTIES OF MERCHANT ABILITY, FITNESS
// FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT . THE ENTIRE RISK AS TO THE
// QUALITY AND PERFORMANCE... |
using System;
using NUnit.Framework;
using RealisticUnitOfWork;
namespace DryIoc.IssuesTests
{
[TestFixture]
public class GHIssue44_Real_world_benchmark_the_unit_work_or_say_the_controller_resolution
{
[Test]
public void CreateContainerAndRegisterServices_Then_FirstTimeOpenScopeAndResolve()... |
using System;
//Declare a variable of type int and assign it with 254 in hexadecimal format
class AssignHexNumberToInt
{
static void Main()
{
int number=0xFE; //Declaring a variable and assinging it with 254 in Hex format (FE)
Console.WriteLine(number); //Writing the value of the variable on ... |
@page
@model simpl.Pages.cccc.sssssModel
@using simpl.Shared
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>cccc.aaaaa</title>
... |
using System.IO;
using Shadowsocks.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Net;
namespace Shadowsocks.Controller
{
public enum ProxyMode
{
NoModify,
Pac,
Global,
}
public class Sha... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Text;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
namespace Microsoft.MixedReality.SpectatorView
{
public enum DeviceP... |
using Microsoft.UI.Xaml.Controls;
using MvvmHelpers;
using MvvmHelpers.Commands;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Windows.ApplicationModel;
... |
using System;
namespace BlazorShared.Models.Patient
{
public class CreatePatientResponse : BaseResponse
{
public PatientDto Patient { get; set; } = new PatientDto();
public CreatePatientResponse(Guid correlationId) : base(correlationId)
{
}
public CreatePatientResponse()
{
}
}
} |
/*
Copyright 2014 i-nercya intelligent software
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 wr... |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// ActivityVoucherInfo Data Structure.
/// </summary>
[Serializable]
public class ActivityVoucherInfo : AopObject
{
/// <summary>
/// 活动id
/// </summ... |
@using Microsoft.AspNetCore.Mvc.Localization
@model IdentityServer4.Admin.BusinessLogic.Dtos.Configuration.ClientClaimsDto
@inject IViewLocalizer Localizer
@{
ViewBag.Title = Localizer["PageTitle"];
Layout = "_Layout";
}
<form asp-controller="Configuration" asp-action="ClientClaimDelete" Method="post">
<div class... |
using XDMessaging.Entities;
using XDMessaging.Entities.Amazon;
// ReSharper disable once CheckNamespace
namespace XDMessaging
{
public static partial class RegisterWithClient
{
public static IXDBroadcaster GetAmazonBroadcaster(this Broadcasters client)
{
return client.GetBroadcaste... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotation_Object : MonoBehaviour {
public float speed;
private void FixedUpdate()
{
transform.Rotate(Vector3.up * Time.deltaTime * speed, Space.World);
}
} |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
namespace Roslyn.Utilities
{
internal static partial class SpecializedCollecti... |
namespace PoolImplementation
{
class MyObject : IPoolableObject
{
private PoolManager poolManager;
public byte[] Data { get; set; }
public int UsableLength { get; set; }
public int Size
{
get { return Data != null ? Data.Length : 0; }
}
void... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------------------------------... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Antares.Service.History.Core.Domain.Enums;
using Common;
using Newtonsoft.Json;
namespace Antares.Service.History.PostgresRepositories.Entities
{
[Table(Constants.HistoryTableName)]
internal class HistoryEntity
{
[Column("type... |
namespace Calder1
{
partial class InputForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be d... |
// 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.Text;
using System.Runtime.InteropServices;
using TestLibrary;
public class BFM_CharMarshaler
{
[DllImport("Char_BestFitMappingNative", BestFitMappin... |
// Lucene version compatibility level 4.8.1
using YAF.Lucene.Net.Analysis.Util;
using YAF.Lucene.Net.Util;
using System;
using System.Collections.Generic;
using System.IO;
namespace YAF.Lucene.Net.Analysis.Cjk
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
using MDPlayer.Properties;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace MDPlayer.form
{
public partial class frmYM2612 : frmBase
{
public bool isClosed = false;
public int x = -1;
public int y = -1;
private int frameSizeW = 0;
private int fr... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Text.Encodings.Web;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.AspNetCore.Mvc;
using M... |
using DND.Core.Models;
using Solution.Base.Implementation.Models;
using Solution.Base.Interfaces.Automapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity.Spatial;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMappe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OnePractice
{
class Contact
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
namespace UKLib.Survey.Parse
{
public class FixedRVHV
{
#region Variables
protected double rightValue = 0;
protected double highValue = 0;
protected double altitude = 0;
#endregion
#region Properties
public ... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace OpenGate.Admin.EntityFramework.SqlServer.Migrations.Identity
{
public partial class DbInit : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
//-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2019 Energistics
//
// 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
//
// ... |
#nullable enable
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis.
// For more info see: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2108
// <auto-generated/>
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.t... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Migrations.Design
{
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Migrations.History;
... |
using Ionic.Zip;
using LmpMasterServer.Properties;
using System.IO;
namespace LmpMasterServer.Web
{
public class WebHandler
{
public static void InitWebFiles()
{
using (var stream = new MemoryStream(Resources.css))
using (var zipFile = ZipFile.Read(stream))
... |
using System;
namespace Codenet.Text
{
public static class StringHelper
{
public static string CutByWords(string input, int maxChars, string suffixWhenCut = null)
{
string text = input;
if (maxChars > 0 && text.Length > maxChars)
{
for (int ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.