text stringlengths 1 932k |
|---|
using System;
using System.Xml;
using System.Collections;
using System.Collections.Generic;
namespace PostboxAPI
{
/// <summary>
/// Response class of "CheckAppID" call.
/// Returns the existens of the AppID in the variable "Status"
/// Also returns CallStatus that is Success or Error.
/// Errors... |
using System;
using GoogleMobileAds.Common;
namespace GoogleMobileAds.Api
{
public class BannerView : IAdListener
{
private IGoogleMobileAdsBannerClient client;
// These are the ad callback events that can be hooked into.
public event Action AdLoaded = delegate {};
public event... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summar... |
namespace Nutanix.Powershell.Models
{
using static Microsoft.Rest.ClientRuntime.Extensions;
/// <summary>
/// The status of a REST API call. Only used when there is a failure to
/// report.
/// </summary>
public partial class TaskStatus
{
/// <summary>
/// <c>AfterFromJson</... |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace HttPlaceholder.Tests.Integration.Stubs
{
[TestClass]
public class StubJsonConditionsIntegrationTests : StubIntegrationTestBase
{
[TestInitialize]
public void... |
// 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 osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framew... |
using System;
using System.IO;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using static UWP_Project_3.Data.OpenWeatherMapForecast;
namespace UWP_Project_3.Model
{
public class OpenWeatherMapForecastService
{
public async static Task<... |
namespace King.BTrak.Unit.Test.Models
{
using King.BTrak.Models;
using NUnit.Framework;
using System;
using System.Collections.Generic;
[TestFixture]
public class TableDataTests
{
[Test]
public void Constructor()
{
new TableData();
}
[Te... |
using StoreApp.Library.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StoreApp.Library
{
/// <summary>
/// Repository for manipulation of Order data
/// </summary>
public interface IOrderRepository
{
/// ... |
@model ErrorDto
@{
ViewData["Title"] = "Error";
}
<h1 class="text-danger">Bir hata meydana geldi.</h1>
@foreach (var item in Model.Errors)
{
<p>@item</p>
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TailSpin.SpaceGame.LeaderboardFunction
{
public class LocalDocumentDBRepository<T> : IDocumentDBRepository<T> where T : Model
{
... |
using System;
namespace NextGen.Application.Common.Exceptions
{
public class NotFoundException : Exception
{
public NotFoundException()
: base()
{
}
public NotFoundException(string message)
: base(message)
{
}
public NotFoundExc... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.EvenOrOdd
{
class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
if (number % 2==0)
{
... |
using System.Security.Principal;
using Picturepark.SDK.V1.Contract;
namespace Picturepark.PressPortal.Demo.ViewModel
{
public class Account
{
public UserProfile Profile { get; set; }
public string AccessToken { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Elsa.Services.Models;
namespace Elsa.ActivityResults
{
public class OutcomeResult : ActivityExecutionResult
{
public OutcomeResult(IEnumerable<string> outcomes, object? input = null, string? parentId = default)
{
... |
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Szlem.AspNetCore.Common.Infrastructure.ModelBinders
{
public abstract class CustomModelBinderBase<T> : IModelBinder
{
public Task BindModelAsync(Model... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... |
#region netDxf library, Copyright (C) 2009-2019 Daniel Carvajal (haplokuon@gmail.com)
// netDxf library
// Copyright (C) 2009-2019 Daniel Carvajal (haplokuon@gmail.com)
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CS_ASP_027
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Random random... |
using System;
namespace InControl
{
// @cond nodoc
[AutoDiscover]
public class ExecutionerXProfile : UnityInputDeviceProfile
{
public ExecutionerXProfile()
{
Name = "Executioner X Controller";
Meta = "Executioner X Controller";
SupportedPlatforms = new[] {
"Windows",
"OS X"
};
Joystic... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Microsoft.Extensions.Configuration
{
public static class ConfigurationExtensions
{
/// <summary>
/// Try to deserialize a configuration section into a predefined settings c... |
namespace OgrenciOtomasyonu
{
partial class frmKayitlariListele
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... |
// 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.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.Cod... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using System;
namespace GameFramewo... |
using System;
using System.IO;
using System.Threading.Tasks;
using HaloSharp.Exception;
using HaloSharp.Extension;
using HaloSharp.Model.HaloWars2.Stats.Lifetime;
using HaloSharp.Query.HaloWars2.Stats.Lifetime;
using HaloSharp.Test.Config;
using HaloSharp.Test.Utility;
using Moq;
using Newtonsoft.Json;
using Newtonsoft... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Minesweeper.Client.Logic;
using Minesweeper.Client.Logic.Interfaces;
using Minesweeper.Common.DTO;
using Minesweeper.Common.Enums;
using Minesweeper.Common.Requests;... |
// *****************************************************************************
// 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 System.IO;
namespace SwissAcademic.Addons.C6ToC5ExportAddon
{
public static class ImportC6XmlinC5Macro
{
public static void Main()
{
ProjectShell activeProjectShell = Program.ActiveProjectShell;
if (activeProjectShell == null) return; //no open project shell
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using mko.FileSys;
using System.IO;
namespace FileSysASMX.Client.Decos
{
public class DirDeco : mko.FileSys.IDir, IDisplayName
{
mko.FileSys.IDir _dir;
public DirDeco(mko.FileS... |
using System.Collections.Generic;
using HotChocolate;
using HotChocolate.Types;
using HotChocolate.Types.Relay;
using StarWars.Repositories;
namespace StarWars.Characters
{
[ExtendObjectType(Name = "Query")]
public class CharacterQueries
{
/// <summary>
/// Retrieve a hero by a particular S... |
/*
* 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... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the... |
namespace Intersect.Network.Packets.Client
{
public class NewCharacterPacket : CerasPacket
{
}
} |
using FluentValidation;
namespace Ordering.Application.Features.Orders.Commands.UpdateOrder
{
public class UpdateOrderCommandValidator : AbstractValidator<UpdateOrderCommand>
{
public UpdateOrderCommandValidator()
{
RuleFor(p => p.UserName)
.NotEmpty().WithMessage("... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GeoTetra.GTLogicGraph
{
[Serializable]
public class LogicNode
{
[SerializeField]
private string _displayName;
[SerializeField]
private string _nodeGuid;
... |
using Replicate.Messages;
using Replicate.MetaData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Replicate.RPC
{
[ReplicateType]
public struct RPCMethodInfo
{
public MethodKey Key;
public TypeId Request;
... |
using GradeBook.Models;
namespace GradeBook.DAL.Repositories.Abstractions
{
public interface ISpecialitiesRepository : IRepository<Specialty>
{
}
} |
/*using UnityEngine;
public class GameColliders : MonoBehaviour
{
[SerializeField]
Transform parentObject;
[SerializeField]
GameObject userPixelPrefab;
[SerializeField]
GameObject bottomLinePrefab;
GameObject[,] colliderObjects;
int cols = 0;
int rows = 0;
[Range (0.1f, 1)... |
//******************************************************************************************************
// PrecisionTimer.cs - Gbtc
//
// Copyright © 2010, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// t... |
// <auto-generated />
using System;
using Issue12MySQL.DataLayer;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Issue12MySQL.Migrations
{
[DbContext(typ... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Validation;
using System.Linq;
using System.Linq.Expressions;
using System.Security.Claims;
using System.Threading.Tasks;
using JetBrains.Annotations;
using JoinRpg.Data.Interfaces;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace BetfairNG.Data
{
public class ExchangePrices
{
[JsonProperty(PropertyName = "availableToBack")]
public List<PriceSize> AvailableToBack { get; set; }
[JsonProperty(Prop... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Umbraco.Cms.Integrations.Commerce.CommerceTools.Models.Responses
{
internal class Product
{
public Guid Id { get; set; }
public string Key { get; set; }
public MasterData MasterData { get; set; }
}
} |
using DotNetCore.AspNetCore;
using DotNetCore.Objects;
using DotNetCoreArchitecture.Application;
using DotNetCoreArchitecture.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using System;
using Northwind.Core.Infra.Context;... |
using ResRoom.Presentation.Client.Models;
using ResRoom.Presentation.Client.ServiceModels;
using ResRoom.Presentation.Client.ViewDefinitions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ResRoom.Presentation.Client.Presenters
{
publi... |
/* ILights116.cs UnifiedPOS Lights Extension Interface for POS for.NET 1.14.1
version 1.16.0.0 January 19th, 2022
Copyright (C) 2022 Kunio Fukuchi
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of... |
using System;
using System.Net;
using System.Net.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
namespace ExtremeServerless.Functions
{
public static class GetSignalRConfiguration
{
private static AzureSignalR signalR = new AzureS... |
#nullable disable
using System.ComponentModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using VocaDb.Model.Domain.Globalization;
using VocaDb.Model.Domain.Songs;
namespace VocaDb.Model.DataContracts.Songs
{
[DataContract(Namespace = Schemas.VocaDb)]
public class L... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2019 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using System;
using System.IO;
n... |
/* Licensed under the MIT/X11 license.
* Copyright (c) 2016-2018 jointly owned by eBestow Technocracy India Pvt. Ltd. & M&M Info-Tech UK Ltd.
* This notice may not be removed from any source distribution.
* See license.txt for detailed licensing details. */
// Author: Mukesh Adhvaryu.
#if (GWS || Window)
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Charlotte.Tools;
namespace Charlotte.Utils
{
public static class CommonUtils
{
public static string DecodeURL(string url)
{
byte[] bUrl = Encoding.ASCII.GetBytes(url);
using (MemoryStream dest = n... |
using System.Threading.Tasks;
using Dapper.Build.Commands.Base;
namespace Dapper.Build.Handlers.Base
{
public interface IHandler<T> where T : ICommand
{
Task<ICommandResult> Handle(T command);
}
} |
namespace SDML.NET.Core.Attributes
{
public class SdmlVersionAttribute : SdmlBaseAttribute
{
public override string ObjectName { get; } = "Version";
public SdmlVersionAttribute(string value) : base(value) { }
}
} |
#region copyright
/*
* Copyright (c) 2018 Sveriges Radio AB, Stockholm, Sweden
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, th... |
using System;
namespace Union
{
public readonly struct Yes { }
public readonly struct No { }
public readonly struct Maybe { }
public readonly struct Unknown { }
public readonly struct True { }
public readonly struct False { }
public readonly struct All { }
public readonly struct Some... |
class Program
{
static void Main(string[] args)
{
Dikdortgen dikdortgen = new Dikdortgen();
Console.WriteLine($"Class Alan Hesabı: {dikdortgen.AlanHesapla()}");
Dikdortgen_Struct dikdortgen_Struct;
dikdortgen_Struct.kisaKenar = 3;
dikdortgen_Struct.uzunKenar = 4;
... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System.Threading;
using System.Threading.Tasks;
namespace AspNetCore.Mvc.Extensions.StartupTasks
{
public static class StartupTasksWebHostExtensions
{
public static Task RunStartupTasksAsync(this IWebHost host, CancellationT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Dawn_Of_VR
{
class Blackjack : MonoBehaviour
{
private bool blnGame = true;
private Dealer objDealer;
public void main()
{
... |
namespace SIDCSupplyChain.Application.DTOs.Settings
{
public class JWTSettings
{
public string Key { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
public double DurationInMinutes { get; set; }
}
} |
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... |
using System;
using System.Net;
namespace FlickrNet
{
internal class FlickrResultArgs<T> : EventArgs where T : IFlickrParsable
{
internal FlickrResultArgs(FlickrResult<T> result)
{
Error = result.Error;
HasError = result.HasError;
Result = result.Result;
... |
//------------------------------------------------------------------------------
// <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 © Pixel Crushers. All rights reserved.
using UnityEngine;
using UnityEngine.Events;
namespace PixelCrushers
{
/// <summary>
/// Invokes an event when the component is disabled or destroyed.
/// If you don't want to invoke the event when the component is disabled
/// and destroyed by a s... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class CreateVolumeOnFilerCmdResponse
{
public override string ToString() => JsonConvert.SerializeObject(this, Formatting.Indented)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Chapter3.Model
{
/// <summary>
/// A class to format JSON, so we can show it in a nicely formatted way
/// </summary>
public class JsonFormatter
{
private const string INDENT_STRING = " ";
... |
namespace Plus.HabboHotel.Rooms.Chat.Commands
{
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Administrator;
using Communication.Packets.Outgoing.Notifications;
using Events;
using GameClients;
using Items.Wired;
using Moderator;
using Moderator.F... |
using Xunit;
using DotNetCoreKoans.Engine;
namespace DotNetCoreKoans.Koans
{
public class AboutInheritance : Koan
{
public class Dog
{
public string Name { get; set; }
public Dog(string name)
{
Name = name;
}
// For a... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using Client.UI;
namespace Client
{
/// <summary>
/// 单机游戏中出牌的数据
/// </summary>
public class CardOrderHandler
{
private CardOrderHandler ()
{
}
#region 外圈卡牌随机
public int GetChanceCardId()
{
if (null == _chanceCardOrder)
{
var list2 = CardManager.Instance.outerCha... |
namespace Elsa.Activities.Telnyx.Webhooks.Models
{
public abstract class TelnyxRecord
{
public string RecordType { get; set; } = default!;
}
} |
// 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 System.Security
{
// The attribute is not portable, but is needed to improve perf of interop calls on desktop.
internal class SuppressUnman... |
/******************************************************************************
Copyright (C) 2019 Eugene Krivoruchko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to de... |
@{
ViewData["Title"] = "奕智博";
}
<h1>面試測驗</h1>
<hr>
<div class="content" id="target"></div>
<script id="ractiveTemplate" type="text/reactive">
<div class="form-horizontal">
<label class="col-sm-2 control-label">面試者姓名 :</label>
<div class="col-sm-3">
<input type="text" class="form-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("02.... |
// *** 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.Collections.Generic;
using UnityEngine;
namespace viva
{
public class ItemSpaceRegister : MonoBehaviour
{
protected class ItemEntry
{
public readonly Item item = null;
public int entries = 1;
public ItemEntry(Item _item)
{
... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... |
using System;
namespace ExcelDownloadWidget.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string errorMessage)... |
using BrawlLib.SSBB.ResourceNodes;
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace BrawlCrate.NodeWrappers
{
[NodeWrapper(ResourceType.ClassicStageTbl)]
public class ClassicStageTblWrapper : GenericWrapper
{
private static readonly ContextMenuStrip _menu;
... |
[TaskCategoryAttribute] // RVA: 0x150160 Offset: 0x150261 VA: 0x150160
[TaskDescriptionAttribute] // RVA: 0x150160 Offset: 0x150261 VA: 0x150160
public class GetPosition : Action // TypeDefIndex: 11134
{
// Fields
[TooltipAttribute] // RVA: 0x18A3C0 Offset: 0x18A4C1 VA: 0x18A3C0
public SharedGameObject targetGameObj... |
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("1.... |
#if !NETSTANDARD13
/*
* 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 ... |
namespace AngleSharp.Css.Dom
{
using AngleSharp.Dom;
using System;
sealed class ClassSelector : ISelector
{
private readonly String _cls;
public ClassSelector(String cls)
{
_cls = cls;
}
public Priority Specificity
{
get { retur... |
namespace FutureFlag
{
/// <summary>
/// Use this to define your own simple flag implementation
/// </summary>
/// <example>
///<![CDATA[
/// var simpleFutureFlag = new SimpleFutureFlag { IsEnabled = true };
/// myElement.IsVisible = simpleFutureFlag.IsEnabled;
/// ]]>
/// </ex... |
using System.Collections;
using UnityEngine;
/// <summary>
/// The test script to emulate GC spikes when an unefficient yield instruction is used
/// </summary>
public class WorkerGenerator : MonoBehaviour
{
[SerializeField]
GameObject OriginalWorker;
[SerializeField]
bool GenerateWorkers = false;
... |
//===============================================================================
// Microsoft patterns & practices
// Smart Client Software Factory 2010
//===============================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE AND INFOR... |
#if UNITY_EDITOR
namespace O3DWB
{
public enum BoxFace
{
Front = 0,
Back,
Top,
Bottom,
Left,
Right
}
}
#endif |
using Editor_Mono.Cecil.Cil;
using Editor_Mono.Cecil.Metadata;
using Editor_Mono.Cecil.PE;
using Editor_Mono.Collections.Generic;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Editor_Mono.Cecil
{
internal sealed class MetadataReader : ByteBuffer
{
internal readonly Im... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 02.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MathNet.Numerics.LinearAlgebra;
namespace MathNet.Numerics.Optimization
{
public class WeakWolfeLineSearch
{
public double C1 { get; set; }
public double C2 { get; set; }
public double ParameterToler... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace ModelSpartanX
{
public partial class CreditCardModel
{
[JsonProperty("exp_month")]
public long? ExpMonth { get; set; }
[JsonProperty("exp_year")]
public long? ExpYear { get; set... |
using NBi.Extensibility.Resolving;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
namespace NBi.Core.Decoration.Process.Commands
{
class WaitCommand : IDecorationCommand
{
private readonly IScalarResolver<int> mil... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace JohnsonControls.Metasys.ComServices
{
/// <summary>
/// COM MetasysObject is a specialized structure that holds information about a Metasys object... |
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SimplCommerce.Infrastructure.Data;
using SimplCommerce.Module.Catalog.Models;
using SimplCommerce.Module.Catalog.ViewModels;
namespace SimplCommerce.Module.Catalog.Controllers
{
[Authorize(Roles = "admin, vendor")]
... |
@ViewData["value-from-view"] @ViewData["value-from-component"] |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
using System;
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// A PropertyAttribute for showing a collapsable Help section.
... |
// Copyright (c) 2002-2018 "Neo Technology,"
// Network Engine for Objects in Lund AB [http://neotechnology.com]
//
// This file is part of Neo4j.
//
// 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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace LowesCN
{
public class SHA
{
public static string GenerateSHA512String(string inputString)
{
SHA512 sha512 = SHA512Manag... |
namespace HarmonyLibTests.Assets
{
public class TestMethodInvokerObject
{
public int Value;
public void Method1(int a)
{
Value += a;
}
}
public struct TestMethodInvokerStruct
{
public int Value;
}
public static class MethodInvokerClass
{
public static void Method1(int a, ref int b, out int c, o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.