text stringlengths 1 932k |
|---|
// 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.Tasks;
using Xunit;
namespace System
{
public class ConsoleManualTests
{
pub... |
using Foundation;
using System;
using UIKit;
namespace TimOliver.TOCropViewController.Xamarin.Demo
{
public partial class ViewController : UIViewController, IUIImagePickerControllerDelegate
{
private ImageCroppingDelegate _croppingDelegate;
private TOCropViewController _cropViewController;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Internal.TypeSystem.Interop
{
public static class MarshalUtils
{
/// <summary>
/// Returns true if this type has a common representat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;
namespace WalkingTec.Mvvm.Demo.Models
{
public enum SchoolTypeEnum
{
[Display(Name = "公立学校")]
PUB,
[Display(Name ... |
using System;
using System.Reflection;
namespace Microsoft.Git.CredentialManager
{
public static class Constants
{
public const string PersonalAccessTokenUserName = "PersonalAccessToken";
public const string DefaultCredentialNamespace = "git";
public const string ProviderIdAuto = "aut... |
namespace IsblCheck.Core.Parser
{
#pragma warning disable 3021
partial class IsblLexer
{
}
} |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... |
// 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 System.ComponentModel.Design
{
/// <summary>
/// Specifies identifiers to indicate the display m... |
// *** 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) 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.Linq;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Bindables;
using osu.Fram... |
using System;
using System.Linq;
public class Test {
public static void Main() {
int[] a = new int[10];
for (int i = 0; i != 10; i--
/* updated */
) {
a[i, 0] = i + 100;
}
}
} |
using System.Net;
using System.Net.Http;
using System.Reflection;
using System;
using System.Threading.Tasks;
using Tweek.Publishing.Helpers;
using System.Collections.Generic;
using FakeItEasy;
using Xunit;
using System.Linq;
using App.Metrics;
using RichardSzalay.MockHttp;
using Tweek.Publishing.Service.Model.Hooks;
u... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Core.Definitions.Devices;
using Microsoft.MixedReality.Toolkit.Core.Definitions.InputSystem;
using Microsoft.MixedReality.Toolkit... |
using System;
using System.Threading.Tasks;
using Sentry.Protocol;
namespace Sentry
{
/// <summary>
/// Sentry Client interface.
/// </summary>
public interface ISentryClient
{
/// <summary>
/// Whether the client is enabled or not.
/// </summary>
bool IsEnabled { ge... |
using UnityEngine;
namespace PropHunt.Environment.Teleport
{
/// <summary>
/// Object that can be teleported.
/// </summary>
public interface ITeleportable
{
/// <summary>
/// Trigger teleport event for this object from a given source.
/// </summary>
void Teleport(Ga... |
@model ceenq.com.AzureManagement.Models.AzureSettingsPart
<fieldset>
<legend>@T("Azure Subscription Settings")</legend>
<div>
<label for="@Html.FieldIdFor(m => m.SubscriptionId)">@T("Azure Subscription Id")</label>
@Html.EditorFor(m => m.SubscriptionId)
@Html.ValidationMessage("Subscr... |
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("Da... |
namespace People;
public class Employee
{ /* ... */ }
public class ProtectedPrivate
{
protected private ProtectedPrivate(){}
}
public class Inheritor : ProtectedPrivate{
public Inheritor() : base(){}
} |
//----------------------------------------------------------------------------------------------
// <copyright file="ComposeExtensionParameter.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------------... |
using System.ComponentModel.DataAnnotations;
namespace Volvox.Helios.Domain.ModuleSettings
{
public class BaseModuleSettings
{
[Key]
public ulong GuildId { get; set; }
public bool Enabled { get; set; }
}
} |
// *** 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 Rocket.API;
using Rocket.API.Collections;
using Rocket.API.Extensions;
using Rocket.Core;
using Rocket.Core.Assets;
using Rocket.Core.Extensions;
using Rocket.Core.Logging;
using Rocket.Core.Plugins;
using Rocket.Unturned.Chat;
using Rocket.Unturned.Commands;
using Rocket.Unturned.Effects;
using Rocket.Unturned.... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.SDK.EmulatorTests
{
using System;
using System.Collections.Generic;
using System.Colle... |
using System;
using NUnit.Framework;
using Infinispan.HotRod.Config;
namespace Infinispan.HotRod.Tests.StandaloneHotrodSSLXml
{
[Category("SecurityTestSuite")]
[Category("standalone_hotrod_ssl_xml")]
class SSLTest
{
private AuthorizationTester tester = new AuthorizationTester();
privat... |
using JadeFramework.Dapper;
using MsSystem.Weixin.Model;
namespace MsSystem.Weixin.IRepository
{
public interface IWxSecKillRecordRepository : IDapperRepository<WxSecKillRecord>
{
}
} |
using System.Data.SqlClient;
using System.Threading.Tasks;
using Dapper;
namespace Sql.Analyzer.Test.TestData
{
public class Program
{
private static async Task Main(string[] args)
{
var sql = new SqlConnection();
sql.Execute("inline sql", new { param = new DbString() ... |
/*
* 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 ... |
/**
* 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Application.Interfaces;
using Application.Projects.Dtos;
using Application.Users.Dtos;
using AutoMapper;
using Domain.Entities;
using Domain.Interfaces.Abstractions;
using D... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Azure.Functions.DI.Interfaces;
using Azure.Functions.DI.Tests.Configurations;
using Azure.Functions.DI.Tests.Managers;
using Azure.Functions.DI.Tests.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCor... |
using FlowScriptEngine;
using System.Collections.Generic;
using System.Linq;
namespace FlowScriptEngineBasic.FlowSourceObjects.Hashtable
{
[ToolTipText("Hashtable_Pairs_Summary", "Hashtable_Pairs_Remark")]
public partial class PairsFlowSourceObject : FlowSourceObjectBase
{
public override string N... |
/*
* Copyright (c) 2017-2019 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha
*
*/
using System;
using System.IO;
using System.Linq;
using Xunit;
using Piranha.Models;
using Piranha.R... |
using System;
class Program
{
static void Main()
{
Console.WriteLine("Hello, Jason");
}
} |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.IdentityModel.Tokens
{
using System.Diagnostics;
using System.Globalization;
using System.Security.Cry... |
<!-- Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
See LICENSE in the source repository root for complete license information. -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using UnlockMe.Data;
namespace UnlockM... |
using Microsoft.Xna.Framework;
namespace Xplore
{
public class BoulderHealthBar : IHealthBarEntity
{
private readonly Boulder _boulder;
public Vector2 HealthBarPosition => new Vector2(_boulder.Center.X,_boulder.Position.Y - 50);
public int MaxHealthPoints => _boulder.MaxHealthPoints;
... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using W... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace RFG
{
[Serializable]
public struct AnimationClipItem
{
public string name;
public int framesStart;
public int framesEnd;
public bool loop;
public string animationEventFunction;
public float animationEventTime;
... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2019 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
// 此文件由工具自动生成,请勿直接修改。
// 生成时间:2019... |
using AMO = Microsoft.AnalysisServices;
using TOM = Microsoft.AnalysisServices.Tabular;
namespace TOM2AMO
{
public static class TranslationHelper
{
public static int GetLCIDFromCultureName(string Name)
{
return new System.Globalization.CultureInfo(Name).LCID;
}
publ... |
namespace KF2WorkshopUrlConverter.Core.SteamWorkshop.Entities
{
class Item
{
public string Id { get; private set; }
public string Name { get; private set; }
public string Url { get => $"https://steamcommunity.com/sharedfiles/filedetails/?id={Id}"; }
public Item(string ID, stri... |
//-----------------------------------------------------------------------
// <copyright file="ViewTimeOffRequestsCard.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.Teams.App.Kro... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.Remoting;
public partial class InnerWeaver : MarshalByRefObject, IInnerWeaver
{
bool disposed;
public string ProjectDirectoryPath { get; set; }
public string AssemblyFilePath { get; set; }
public string Solu... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace NegativeEncoder
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{... |
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/UnfinishedExpressionInCode.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "263a6264ce5a6790b4db8f6767ceefade6eaacba"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttri... |
<div class="bg-white p-top-80 p-bottom-80 text-center">
<div class="container">
<!-- AGENCY DETAIL -->
<div class="row">
<div class="col-md-12">
<h1 class="text-base text-size-200 text-size-250-md text-size-120-sm text-bold-800">404</h1>
<h2 class="tex... |
/// <summary>
/// 关系类型。
/// </summary>
public enum RelationType {
/// <summary>
/// 未知的。
/// </summary>
Unknown,
/// <summary>
/// 友好的。
/// </summary>
Friendly,
/// <summary>
/// 中立的。
/// </summary>
Neutral,
/// <summary>
/// 敌对的。
/// </summary>
Hostil... |
@{
ViewBag.Title = "About";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<p>Chaso.Reporting.Sample, Show how works Chaso.Reporting component, that is a full-featured reporting solution for Windows Forms, ASP.NET, MVC. It can be used in Microsoft Visual Studio 2005-2017. Supports .Net Framework 4.x.</p> |
using System;
namespace twosame
{
class Program
{
static void Main(string[] args)
{
Console.OutputEncoding = System.Text.Encoding.UTF8;
Console.WriteLine("Ohjelma pyytää syöttämään lukuja kunnes syötät kaksi samaa lukua, jonka jälkeen ohjelma laskee lukujen yhteissumman... |
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 ChinookMusicStore.Data.Migra... |
using ThreadSafe.Domain;
using Xunit;
namespace ThreadSafe.XUnitTest
{
public class SingletonUnitTest
{
[Fact (DisplayName = "Should GetInstance return new instance and value")]
public void Singleton_Case_GetInstance()
{
var value = "Hi singleton";
var singleton... |
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
namespace LibraryApp
{
class Database
{
private const string Members_Collection = "Members";
private const string Books_Collection = "Books";
private const string Films_Collecti... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.8
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host.Mef;
using Mi... |
using Crm;
using FakeXrmEasy.FakeMessageExecutors.CustomExecutors;
using Microsoft.Xrm.Sdk;
using System;
using System.Linq;
using Xunit;
namespace FakeXrmEasy.Tests.FakeContextTests.CustomRequestTests.NavigateToNextEntityRequestTests
{
public class NavigateToNextEntityRequestTests
{
[Fact]
pu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using ServiceStack.Host;
using ServiceStack.Text;
using ServiceStack.Web;
namespace ServiceStack.NativeTypes.CSharp
{
public class CSharpGenerator
{
readonly MetadataTypesConfig Config;
readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bam.Net
{
public class Comparer<T> : IComparer<T>
{
public Comparer(Func<T, T, int> implementation)
{
Implementation = implementation;
}
pu... |
namespace Microsoft.ApplicationInsights.Extensibility.Implementation
{
using System;
using System.Diagnostics;
using System.Globalization;
using Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing;
using Microsoft.ApplicationInsights.Extensibility.W3C;
/// <summary>
/// Oper... |
//------------------------------------------------------------------------------
// <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 (C) 2015 Senparc
文件名:MessageQueue.cs
文件功能描述:微信消息列队(针对单个账号的往来消息)
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using Sy... |
namespace Quark.Core.Requests.Identity;
public class RefreshTokenRequest
{
public string Token { get; set; }
public string RefreshToken { get; set; }
} |
// 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 System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TancleClient.ViewModel.Interface
{
public interface IViewModelErrorWindow
{
void ErrorWindow(INotifyPropertyChanged vm, string errorText);
}
} |
using Capital.GSG.FX.Data.Core.OrderData;
using System.Collections.Generic;
using System.Linq;
namespace Net.Teirlinck.FX.InteractiveBrokersAPI.Extensions
{
public static class IBOrderStateExtensions
{
public static OrderState ToOrderStatus(this IBApi.OrderState ibStatus)
{
if (ibS... |
/*
* 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 Jasper.AzureServiceBus.Internal;
using Jasper.Messaging.Transports;
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.ServiceBus.Primitives;
namespace Jasper.AzureServiceBus
{
public class AzureServiceBusEndpoint : Endpoint<IAzureServiceBusProtocol>
{
public AzureServiceBusEndpoint(Transpor... |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using System;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
using Beef.Test.NUnit;
using Beef.Data.OData.UnitTest.Entities;
namespace Beef.Data.OData.UnitTest
{
[TestFixture]
public class ODataMapperTest
{
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace LinkedDataProofs.Purposes
{
public abstract class ProofPurpose
{
public ProofPurpose(string term)
{
Term = term ?? throw new ArgumentNullException(nameof(term), "this... |
using NUnit.Framework;
namespace NUnit.Analyzers.Tests.Targets.TestCaseSourceUsage
{
[TestFixture]
class TestCaseSourceUsesStringAnalyzerTestsAnalyzeWhenMultipleUnrelatedAttributes
{
[Test]
public void UnrelatedTest()
{
}
[TestCaseSource("StringConstant")]
p... |
//-----------------------------------------------------------------------
// <copyright file="ResponseModelBase.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.co... |
using DarkTonic.CoreGameKit;
using UnityEngine;
// ReSharper disable once CheckNamespace
public class KW_Instructions5 : MonoBehaviour {
void OnGUI() {
GUI.Label(new Rect(10, 10, 760, 90), "This scene shows how Composite Killables can be set up with zero code-writing. The mother ship has 2 sub-Killables of 'Fighter... |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.Diagnostics;
using System;
using System.Collections.Generic;
namespace Beef.Executors
{
/// <summary>
/// Provides the base <see cref="Beef.Executors.Executor"/> arguments.
/// </summary>
public i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2.Sign_of_Integer_Number
{
class singOfIntegrNum
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
PrintNumbers(n);
}
... |
//
// SocketIOUnity.cs
// SocketIOUnity
//
// Created by itisnajim on 10/30/2021.
// Copyright (c) 2021 itisnajim. All rights reserved.
//
using System;
using System.Threading;
using System.Threading.Tasks;
using SocketIOClient;
using SocketIOClient.Messages;
public class SocketIOUnity : SocketIO
{
public en... |
//
// ZipExtraData.cs
//
// Copyright 2004-2007 John Reilly
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
//... |
/*
Copyright 2007-2017 The NGenerics Team
(https://github.com/ngenerics/ngenerics/wiki/Team)
This program is licensed under the MIT License. You should
have received a copy of the license along with the source code. If not, an online copy
of the license can be found at https://opensource.org/licenses/MIT.
*... |
using System;
namespace DataBoss.DataPackage
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class FieldAttribute : Attribute
{
public string SchemaType;
}
} |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.Ec2FleetLaunchTemplateConfigLaunchTemplateSpecification")]
public class Ec2FleetLaunchTemplateConfigLaunchTemplateSpecification : aws.IEc2FleetLaunchTemplat... |
namespace ecl.Unicode.Ucd {
public enum CombingClass : byte {
}
} |
/*
* Copyright © 2015 - 2016 EDDiscovery development team
*
* 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 applica... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace OpenGET
{
[DisallowMultipleComponent]
public class Coroutines : MonoBehaviour
{
/// <summary>
/// Setup the singleton instance, and ensure it doesn't get destroyed when the scene is unloaded.
... |
// 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.Immutable;
using System.Linq;
using Analyzer.Utilities;
using Analyzer.Utilities.Extensions;
using Microsoft.CodeAnalys... |
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
{
using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions;
/// <summary>A snapshot of a web app configuration.</summary>
public partial class SiteConfigurationSnapshotInfo :
Microsoft.Azure.PowerShell.Cmd... |
// This is a generated file.
// This file is licensed as per the LICENSE file.
// The generation template has been modified from .NET Foundation implementation
using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Cryptography.Asn1;
using Kerberos.NET.Crypto;
us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Djelitelji
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Unesite prirodni broj:");
int a = int.Parse(Console.ReadLine()... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using Entitas;
using UnityEngine;
public sealed class FovSystem:ISetPools,IReactiveSystem
{
public TriggerOnEvent trigger { get {return InputMatcher.Fov.OnEntityAdded(); } }
Pools _pools;
public void SetPools(Pools p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Crash;
public class ResourcePathManager : Singleton<ResourcePathManager>
{
public static string JunkMaterialPath = "junk";
public static string navMeshLink = "NM_Link";
public static string navMesh = "NavMesh";
public... |
using System;
using System.Text;
using VRage.Utils;
namespace Sandbox.ModAPI.Interfaces.Terminal
{
/// <summary>
/// This is a textbox where a user can enter values into.
/// </summary>
public interface IMyTerminalControlTextbox : IMyTerminalControl, IMyTerminalValueControl<StringBuilder>, IMyTerminal... |
/*
* 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 JL.Core.Dicts.CustomWordDict;
public static class CustomWordLoader
{
public static async Task Load(string customWordDictPath)
{
if (File.Exists(customWordDictPath))
{
string[] lines = await File.ReadAllLinesAsync(customWordDictPath)
.ConfigureAwait(false);... |
// -----------------------------------------------------------------------
// <copyright file="AlertStatisticViewModel.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using ... |
#region Header
/**
* JsonReader.cs
* Stream-like access to JSON text.
*
* The authors disclaim copyright to this source code. For more details, see
* the COPYING file included with this distribution.
**/
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WhatsAPI.UniversalApps.Libs.Utils.Common;
using Windows.Security.Cryptography;
using Windows.Security.Cryptography.Core;
using Windows.Storage.Streams;
using System.Runtime.InteropServices.WindowsR... |
#region License
/*
* WebSocketSessionManager.cs
*
* The MIT License
*
* Copyright (c) 2012-2015 sta.blockhead
*
* 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... |
/////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Forge Partner Development
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that... |
// -----------------------------------------------------------------------
// <copyright file="CSharpObjectDeserializeHandlerCodeWriter.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license info... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 08.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.