text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ImageFramework.Model;
namespace ImageConsole.Commands.Image
{
public class TellMipmapsCommand : Command
{
public TellMipmapsCommand()
: base("-tellmipmaps", "", "print... |
// Copyright (c) True Goodwill. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.Market.Sessions.SettlementSessions
{
using System;
using FFT.Market.Instruments;
using FFT.TimeStamps;
/// <summary>
/// Iterates through ... |
/*
* 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.Concurrent;
using Chikatto.Bancho.Serialization;
using Chikatto.Enums;
using Chikatto.Multiplayer;
using osu.Game.Beatmaps.Legacy;
namespace Chikatto.Bancho.Objects
{
public class BanchoMatch : ISerializable, IDeserializable
{
public string Name;
public string Password... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace Delve.Demo
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaul... |
using System;
using Model = NTwitch.Rest.API.BlockedUser;
namespace NTwitch.Rest
{
public class RestBlockedUser : RestEntity<ulong>
{
/// <summary> The date and time this block was last updated </summary>
public DateTime UpdatedAt { get; set; }
/// <summary> The user associated with th... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ABP.TPLMS.Migrations
{
public partial class AddEntitySupplier : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Suppliers",
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Xml.Serialization;
using KotturTech.CSVBeast.CSVTable.Interfaces;
using KotturTech.CSVBeast.Customization.Implementations;
using KotturTech.CSV... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Drawing;
using System.IO;
using sn = SN_API;
namespace Test
{
class Program
{
static bool loadImage(string imgPath, List<string> imgNa... |
namespace Cineaste.Data.Models;
public enum SeriesWatchStatus
{
NotWatched,
Watching,
Watched,
StoppedWatching
}
public enum SeriesReleaseStatus
{
NotStarted,
Running,
Finished,
Cancelled,
Unknown
}
[Table("Series")]
public sealed class Series : EntityBase
{
public bool IsMini... |
//
// RuntimeTests.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2010 Novell, Inc.
//
// 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,... |
using DesignPatterns.SoftwareDesignPattern.Behavioral.Strategy.FlyStrategy;
namespace DesignPatterns.SoftwareDesignPattern.Behavioral.Strategy {
public class StrategyPatternSample : IDesignPatternSample {
public void ShowSample() {
var duck1 = new Duck(new NoFlightStrategy());
var duck2 = new Duck(n... |
// <copyright file="ISavedGameMetadata.cs" company="Google Inc.">
// Copyright (C) 2014 Google Inc.
//
// 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/licens... |
#pragma warning disable 0414
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
namespace UnityGB
{
public class Emulator : EmulatorBase
{
const float FRAMES_PER_SECOND = 59.7f;
... |
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// </autogenerated>
//-------------------------... |
// <copyright file="GoogleDriveFileSystemProvider.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System.Threading;
using System.Threading.Tasks;
using FubarDev.FtpServer.BackgroundTransfer;
using JetBrains.Annotations;
namespace FubarDev... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using LMPlatform.Models;
using Microsoft.AspNet.SignalR;
using LMPlatform.UI;
using Microsoft.AspNet.SignalR.Hubs;
using WebMatrix.WebData;
namespace LMPlatform.UI
{
[HubNam... |
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Globalization;
namespace McMaster.Extensions.CommandLineUtils.Abstractions
{
/// <summary>
/// Provides methods for creating <see cref="IV... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Graphics.OpenGL;
using osu.Framework.Graphics.OpenGL.Buffers;
using osuTK;
using osuTK.Graphics.ES30;
using osuTK.G... |
using System;
using Microsoft.CodeAnalysis.CSharp;
namespace Testura.Code.Factories
{
internal static class OperatorFactory
{
public static SyntaxKind GetSyntaxKind(Operators @operator)
{
switch (@operator)
{
case Operators.Multiplication:
... |
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
// script permettant de gerer la liste des Block
// Il permet d ajouter, ou de supprimer des blocks et d'assigner des Behaviours ( comportement ) aux variables gameObject des Block
public class Blocks : MonoBehaviour
{
public GameObject acti... |
using AntilopeGP;
using AntilopeGP.Shared.Busy;
using AntilopeGP.Shared.Views;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Xamarin.Forms.Xaml;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrow... |
// <auto-generated />
using System;
using LocalParks.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace LocalParks.Data.Migrations
{
[DbContext(typeof(Pa... |
namespace FubuMVC.Core.Resources.Etags
{
public class ETaggedRequest
{
public string IfNoneMatch { get; set; }
[ResourceHash]
public string ResourceHash { get; set; }
}
} |
// <copyright file="X509CaCertPayloadHandler.cs" company="Okta, Inc">
// Copyright (c) 2020 - present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
namespace Okta.Sdk.Internal
{
/// <inheritdoc />
... |
// Copyright 2020 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 ... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
/// The line type, as used in methods on <see cref="IDifferenceBuffer"/>.
//... |
using System;
using System.Collections.Generic;
using System.IO;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel;
namespace Parser
{
public partial cla... |
namespace eQuantic.Core.Data.Repository
{
/// <summary>
/// The Queryable Unit of Work interface
/// </summary>
/// <seealso cref="eQuantic.Core.Data.Repository.IUnitOfWork" />
public interface IQueryableUnitOfWork : IUnitOfWork
{
/// <summary>
/// Returns a IQueryable instance ... |
using System;
using System.Collections.Generic;
using Unity.Editor.Tasks;
namespace Unity.VersionControl.Git
{
class ConfigOutputProcessor : BaseOutputListProcessor<KeyValuePair<string, string>>
{
protected override bool ProcessLine(string line, out KeyValuePair<string, string> result)
{
... |
/// Developed by Thornton Tomasetti's CORE Studio for Autodesk
/// http://core.thorntontomasetti.com
/// CORE Developers: Elcin Ertugrul and Ana Garcia Puyol
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.In... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// MybankPaymentTradeDistrictQueryModel Data Structure.
/// </summary>
[Serializable]
public class MybankPaymentTradeDistrictQueryModel : AopObject
{
/// <summary>
/// 父级行政地区编码。 不填则默认查询省级行政地区... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace SitecoreCognitiveServices.Foundation.IBMSDK.Assistant.Models
{
public class SynonymCollection
{
[JsonProperty("synonyms", NullValueHandling = NullValueHandling.Ignore)]
public List<Synonym> Synonyms { get; set; }
[JsonPr... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Autobot.API.Site
{
public class Program
{
public static void Main(string[] args)
{
var host = CreateHostBuilder(args).Build();
//using (var scope = host.Services.CreateScope())
... |
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
namespace EveryParser.GrammarListener.ArgumentsListener
{
/// <summary>
/// This interface defines a complete listener for a parse tree produced by
/// <see cref="EveryGrammarParser"/>.
/// </summary>
public partial class E... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using BlazorHero.CleanArchitecture.Application.Features.ExtendedAttributes.Commands.AddEdit;
using BlazorHero.CleanArchitecture.Application.Features.ExtendedAttributes.Queries.Export;
using ... |
// Copyright (c) 2015 Alachisoft
//
// 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 t... |
using System;
using System.Threading.Tasks;
namespace Sfa.Tl.Matching.Application.Interfaces
{
public interface IReferenceDataService
{
Task<int> SynchronizeProviderReferenceAsync(DateTime lastUpdateDate);
}
} |
using System;
using System.Collections.Generic;
using Windows.UI.Xaml;
using Uno.Extensions;
using Uno.UI.Extensions;
using Uno.Disposables;
using Foundation;
using UIKit;
using CoreGraphics;
using LayoutInfoDictionary = System.Collections.Generic.Dictionary<Foundation.NSIndexPath, UIKit.UICollectionViewLayoutAttribut... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using Yuebon.Commons.Models;
namespace Yuebon.DataProcess.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("dp_sys_conf_classify")]
[Serializable]
pub... |
/*
* 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... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.open.mini.deploypackage.query
/// </summary>
public class AlipayOpenMiniDeploypackageQueryRequest : IAlipayRequest<AlipayOpenMiniDeploy... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.I... |
// Url:https://leetcode.com/problems/word-pattern
/*
290. Word Pattern
Easy
Given a pattern and a string str, find if str follows the same pattern.
Here follow means a full match, such that there is a bijection between a letter in pattern and a non-empty word in str.
Example 1:
Input: pattern = "abba", str = "dog ... |
namespace SantasToolbox;
public interface INode
{
int Cost { get; }
}
public static class AStarPathfinder
{
/// <summary>
/// Utilizes A* algorithm to find a path from start to goal node
/// </summary>
/// <param name="start">Starting node</param>
/// <param name="goal">End node</param>
/... |
using System.Collections.Generic;
using GitVersion.Configuration.Init.Wizard;
using GitVersion.Common;
namespace GitVersion.Configuration.Init.SetConfig
{
public class ConfigureBranch : ConfigInitWizardStep
{
string name;
readonly BranchConfig branchConfig;
public ConfigureBranch(strin... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Maincotech.Services
{
public class HealthState
{
public bool IsAlive { get; set; }
public string StatueMessage { get; set; }
}
} |
using System.Reflection;
namespace SpecAid.Tooling.Translations
{
public interface ITranslation
{
int ConsiderOrder {get; }
object Do(PropertyInfo info, string tableValue);
bool UseWhen(PropertyInfo info, string tableValue);
}
} |
namespace Cuku.Geo
{
using System.Collections.Generic;
using UnityEditor;
using System.IO;
using System.Linq;
using OsmSharp.Streams;
using OsmSharp;
using ProjNet.CoordinateSystems.Transformations;
using ProjNet.CoordinateSystems;
using OsmSharp.Tags;
using MessagePack;
using Sirenix.OdinInspector.Editor;
... |
using System;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yolol.Execution;
namespace YololEmulator.Tests
{
[TestClass]
public class YStringTests
{
[TestMethod]
public void SpanTest()
{
var a = "Hello";
var ... |
/*
Status: Solved
Imported: 2020-05-02 21:36
By: Casper
Url: https://app.codesignal.com/arcade/intro/level-7/ZFnQkq9RmMiyE6qtq
Description:
Given a sorted array of integers a, your task is to determine which element of a
is closest to all other values of a. In other wor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Lesson11
{
public class Employee
{
private static object Marker = new object();
private Semaphore _semaphore;
private readonly Mutex _mutex;
public st... |
// <copyright file="ProfilerHelper.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
using Sys... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace AoC.Tokeniser
{
public class InputReader
{
const string _rulePattern = @"[a-z]+(\s[a-z]+)?:\s\d+-\d+\sor\s\d+-\d+";
const string _ticket... |
/*
* 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;
public class Player : MonoBehaviour
{
[SerializeField]
float moveSpeed;
Animator anim;
void Awake(){
anim = GetComponent<Animator>();
}
// Update is called once per frame
void Update()
{
tra... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ReLogic.Graphics;
using Terraria;
using Terraria.ModLoader;
namespace Desiccation.Utilities
{
/// <summary>
/// Used for drawing related data, rectangle related data, and vector2 related data
/// </summary>
internal static class DrawData... |
/**
* Copyright 2015 Canada Health Infoway, Inc.
*
* 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 applicab... |
using BiometricBLL.Service;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.OAuth;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
namespace BiometricAPI.Provider
{
public class OAuthAppProvider : OAuthAuthorizationServerProvider
{
public over... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Zip;
using UnityEditor;
using UnityEngine;
namespace WeChat
{
[InitializeOnLoad]
public class ExportStore : ScriptableObject
{
static BeefBallConfig globalExportC... |
using System;
using System.Collections.Generic;
namespace KuzeyYeli.ORM.Models
{
public partial class Supplier
{
public Supplier()
{
this.Products = new List<Product>();
}
public int SupplierID { get; set; }
public string CompanyName { get; set; }
pu... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 08.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
/*
* Stocks API For Digital Portals
*
* The stocks API features a screener to search for equity instruments based on stock-specific parameters. Parameters for up to three fiscal years might now be used in one request; data is available for the ten most recent completed fiscal years. Estimates are available for the ... |
/*
* 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 UnityEngine;
using System.Collections;
namespace DigitalRuby.PyroParticles
{
[System.Serializable]
public struct RangeOfIntegers
{
public int Minimum;
public int Maximum;
}
[System.Serializable]
public struct RangeOfFloats
{
public float Minimum;
publ... |
/*
* ProcessMaker API
*
* This ProcessMaker I/O API provides access to a BPMN 2.0 compliant workflow engine api that is designed to be used as a microservice to support enterprise cloud applications. The current Alpha 1.0 version supports most of the descriptive class of the BPMN 2.0 specification.
*
* OpenAPI s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace ConfigClient_ApiDefault.Pages
{
public class PrivacyModel : PageModel
{
private read... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using quicsharp;
using quicsharp.Frames;
using System;
using System.Collections.Generic;
namespace quicsharp.tests
{
[TestClass]
public class TestShortHeaderPacket
{
[TestMethod]
public void TestEncode()
{
ShortHeader... |
// Licensed under the MIT License. See License in the project root for license information.
namespace BlazorApp.Weather.Pages
{
using System.Threading.Tasks;
using BlazorApp.Weather.Store;
using Fluxor;
using Microsoft.AspNetCore.Components;
public partial class Forecasts
{
[Inject]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Runtime.InteropServices;
using Anvil.API.Events;
using Anvil.Services;
using NWN.Native.API;
namespace Anvil.API.Events
{
public sealed class OnInventoryItemRemove : IEvent
{
public NwGameObject RemovedFrom { get; private init; }
public NwItem Item { get; private init; }
Nw... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZoneManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
private void OnTriggerEnter(Collider other)
{
if... |
using DG.Tools;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Client;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
namespace DG.Tools.XrmMockup.Metad... |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace FORCEBuild.Net.Base
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ResponseHead
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst = Extra.TagLength)] public byte[] TagBytes;
[MarshalAs(Unmanage... |
using System;
using Mono.Data.Sqlite;
public class FactionConsequenceTargetData : global::DataCore
{
public global::FactionConsequenceTargetId Id { get; private set; }
public string Name { get; private set; }
public override void Populate(global::Mono.Data.Sqlite.SqliteDataReader reader)
{
this.Id = (global::... |
// <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 Csrs.Interfaces.Dynamics.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using k8s;
using Microsoft.Extensions.Options;
using Microsoft.Kubernetes;
using Microsoft.Kubernetes.Client;
using Microsoft.Kubernetes.ResourceKinds;
using Microsoft.Kubernetes.Resources;
using System.Linq;
namespace Microsoft.Extensions.De... |
#pragma checksum "C:\Users\ahmed\Desktop\AhmedEminBoluk-ApsiyonBootcampHomeworks\RoleHomeWorkProject\RoleHomeWorkProject\Views\Auth\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3af88b34bf7e7a86736306f9e177f38777e91fcc"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCo... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace SchemaZen.Library.Models {
public class ColumnList {
private readonly List<Column> _mItems = new List<Column>();
public ReadOnlyCollection<Column> Items => _mItems.AsReadOnly();
public void... |
// 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.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microso... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
public class InGameData
{
public static List<Transform> ReUseBox = new List<Transform>();
public static AddItem add_item;
//static public float GameScale = 1f;
static public float... |
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;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Management.Compute.Models
{
/// <summary> The Components1H8M3EpSchemasVirtualmachineidentityPropertiesUserassignedidentitiesAdditionalproperties. </summary>
p... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Общие сведения об этой сборке предоставляются следующим набором
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("ClassLibrary")]
[a... |
// 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.IO;
using System.Net;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using Microsoft.Spark.CSharp.Interop.I... |
using Godot;
using System;
public class Pickup : Area2D
{
ItemResource _itemResource;
InventoryManager _inventoryManager;
private Texture[] iconTextures = { (Texture)GD.Load("res://assets/wrench_white.png") };
AudioStream musicClip = (AudioStream)GD.Load("res://assets/sounds/Future Weapons 2 - Source -... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NewLife.Http;
using NewLife.Messaging;
using NewLife.Net;
using NewLife.Threading;
namespace NewLife.Remoting
{
class ApiNetServer : NetServer<ApiNetSession>, IApiServer
{
/// <summary>主机</summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Actors;
using Microsoft.ServiceFabric.Actors.Runtime;
using Microsoft.ServiceFabric.Actors.Client;
using TestActor.Interfaces;
namespace TestActor
{
/// <remarks>
... |
/*
* Copyright(c) 2019 Samsung Electronics Co., 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/licenses/LICENSE-2.0
*
* Unless required by applicable... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.Network.Models
{
/// <summary> The ServiceProviderProvisioningState state of the resource. </summary>
... |
@page
@model IndexModel
@{
ViewData["Title"] = ViewData["Description"];
}
<div style="text-align:center;margin-top:50px;">
<img src="~/images/logo.png" style="height:100px;" />
<div align="center">
<p><a href="https://gitee.com/dotnetchina/Furion/stargazers"><img src="https://gitee.com/dotnetchina... |
#region License
/*
* Copyright 2002-2010 the original author or 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 the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions.Common;
using FluentAssertions.Events;
using FluentAssertions.Execution;
namespace FluentAssertions
{
/// <summary>
/// Provides extension methods for monitoring and querying events.
///... |
// --------------------------------------------------------------------------------------------------
// <copyright file="EntityReference.cs" company="FluentPOS">
// Copyright (c) FluentPOS. All rights reserved.
// The core team: Mukesh Murugan (iammukeshm), Chhin Sras (chhinsras), Nikolay Chebotov (unchase).
// Licens... |
using HttpReports;
using HttpReports.Core;
using HttpReports.Storage.Abstractions;
using HttpReports.Storage.SQLServer;
using System;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceBuildExtensions
{
public static IHttpReportsBuilder AddSQLServerStorage(this IHttpReport... |
// *** 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 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... |
@model IEnumerable<OnSale.Common.Entities.Country>
@{
ViewData["Title"] = "Index";
}
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" />
<br />
<p>
<a asp-action="Create" class="btn btn-primary"><i class="glyphicon glyphicon-plus"></i> Add New</a>
</p>
<div cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.