text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
namespace BusinessEngine.Sales
{
public static class IProductExtension
{
public static float GetAllCostsPrice(this IProduct product)
{
float costs = 0;
p... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... |
using System;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.ProjectServer.Client;
using Common.AppContext;
using Common.Configuration;
using Csom.Client.Abstractions;
using Csom.Client.Common;
using Csom.Client.Context;
using Csom.Client.Model;
using Xunit;
namespace Csom.Client.Integra... |
namespace WebApi.Boilerplate.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using WebApi.Boilerplate.Entities;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class AuthorizeAttribute : Attribute, IAuthorizationFilter
{
private readonly IList<Role... |
using DataService;
using System;
namespace Studentmanage
{
internal class Executor
{
private readonly Dataservices dataservices = new Dataservices();
public void Run()
{
while (true)
{
try
{
Console.WriteLine("... |
using System;
using System.Net.Http;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Channels;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging.Configuration;
using Microsoft.Extensions.ObjectPool;
using Microsoft.... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace LanguageExt
{
/// <summary>
/// Common functions that acts like a functional language's 'prelude'; that is usually
/// a standard set of functions for dealing with built-in types. In our case we have a
/// s... |
namespace P07_Animals.Animals
{
using System;
public abstract class Animal : ISoundProducible
{
private string name;
private int age;
private string gender;
protected Animal(string name, int age, string gender)
{
this.Name = name;
this.Age =... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using StudentsData.Application.Interfaces;
using StudentsData.Application.ViewModels.C... |
using Microsoft.Xrm.Sdk;
using System.Runtime.Serialization;
namespace Microsoft.Crm.Sdk.Messages
{
/// <summary>Contains the response from the <see cref="T:Microsoft.Crm.Sdk.Messages.GetInvoiceProductsFromOpportunityRequest"></see> class.</summary>
[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011... |
using Intelligob.Escritorio.ModeloVista.Comandos;
using Intelligob.Cliente.Referencia;
using Intelligob.Cliente.Depositos;
using Intelligob.Escritorio.Vistas.General;
using Intelligob.Escritorio.Vistas.Interfaces;
using Intelligob.Escritorio.Vistas.Seguridad;
using System;
using System.Collections.ObjectModel;
using S... |
// 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 writing, software distributed under the ... |
using System.Collections;
using System.Collections.Generic;
using Entitas;
using UnityEngine;
using Entitas.CodeGeneration.Attributes;
[Game,Event(EventTarget.Self)]
public class AudioComponent : IComponent
{
public string path;
} |
/***
Copyright (C) 2018-2020. dc-koromo. All Rights Reserved.
Author: Koromo Copy Developer
***/
using Koromo_Copy_UX.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Automation.Peers;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace ProCienciaApp.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a differen... |
// Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (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.imagemagick.org/script/license.php
//
// Unless req... |
//------------------------------------------------------------------------------
// <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 System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Quack.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}... |
/*
* 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
*
... |
namespace LoginTest
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... |
/*-----------------------------------------------------------------------------
The MIT License (MIT)
This source file is part of GDGeek
(Game Develop & Game Engine Extendable Kits)
For the latest info, see http://gdgeek.com/
Copyright (c) 2014-2015 GDGeek Software Ltd
Permission is hereby granted, free of char... |
// Copyright 2021 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 MeControla.Core.Extensions;
using System.Collections.Generic;
using Xunit;
namespace MeControla.Core.Tests.Extensions
{
public class DictionaryExtensionTests
{
[Fact(DisplayName = "[DictionaryExtension.HasAny] Deve retornar false quando o Dictionary for null.")]
public void DeveRetornaFa... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using DeconTools.Backend;
using DeconTools.Backend.Core;
using DeconTools.Backend.Data;
using DeconTools.Backend.Parameters;
using DeconTools.Backend.ProcessingTasks;
using DeconTools.Backen... |
using DGP.Genshin.MiHoYoAPI.Gacha;
namespace DGP.Genshin.DataModel.GachaStatistic
{
/// <summary>
/// Uid与祈愿记录
/// </summary>
public class UidGachaData
{
/// <summary>
/// 构造一个新的Uid祈愿记录实例
/// </summary>
/// <param name="uid">uid</param>
/// <param name="data... |
// Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
//---------------------------------------------------------------------------------------------
function GuiEditorSelectDlg::toggleVisibility( %this )
{
if( %this.isVisible() )
%this.setVi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Dashboard
{
... |
namespace Mapbox.Unity.Utilities
{
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Button))]
public class OpenUrlOnButtonClick : MonoBehaviour
{
[SerializeField]
string _url;
protected virtual void Awake()
{
GetComponent<Button>().onClick.AddListener(VisitUrl);
}
void VisitUrl(... |
using UnityEngine;
using UnityEngine.UI;
public class MoneyCount : MonoBehaviour {
public Text text;
public void Start() {
UpdateFunds();
}
public void UpdateFunds() {
text.text = Protagonist.GetInstance().Balance.ToString();
}
} |
using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Library.Infrastructure.Messaging.SignalR
{
public class ApiRequest
{
private static readonly HttpClient _httpClient;
static ApiRequest()
{
_httpClient = new HttpClient();... |
namespace Shoplify.Services.Implementations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Shoplify.Common;
using Shoplify.Domain;
using Shoplify.Serv... |
//------------------------------------------------------------------------------
// <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 System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Syroot.NintenTools.Bfres.Core;
namespace Syroot.NintenTools.Bfres
{
/// <summary>
/// Represents an FTXP subfile in a <see cref="ResFile"/>, storing texture material pattern animations.
/// </summary>
[D... |
@using RCSIssues.ApiData.Areas.HelpPage.ModelDescriptions
@model Type
@{
ModelDescription modelDescription = ViewBag.modelDescription;
if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription)
{
if (Model == typeof(Object))
{
@:Object
... |
using LibSVMPort;
using MiniSVM.Classifier;
using MiniSVM.Classifier.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MiniSVM.Tester
{
class Program
{
public static void Main()
{
/*var svm = new SVM(ne... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public static class BlankTexture
{
public static Texture2D New(int width, int height, Color32 color)
{
var texture = new Texture2D(width, height, TextureFormat.ARGB32, false);
texture.filterMod... |
using GhostscriptSharp;
using Sdl.Web.Common.Logging;
using Sdl.Web.Mvc.Configuration;
using SDL.Web.Modules.Thumb.Models;
using System;
using System.IO;
namespace SDL.Web.Modules.Thumb.Factory
{
public class PDFThumbGenerator : IThumbGenerator
{
/// <summary>
/// Create thumbnail of pdf file
... |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... |
using Fuxion.Factories;
using Fuxion.Licensing;
using Fuxion.Licensing.Test;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
using NavWebServiceDemo.Forms.NavJobListService;
namespace NavWebServiceDemo.Forms
{
public partial class Form1 : Form
{
public Form1()
{
NavService.UserName = "admin";
NavService.Password = "Start20... |
namespace NuGet.Analyze.Tfs
{
internal class TfsServerPathTranslator : ITfsServerPathTranslator
{
public string GetServerPath(string baseServerPath, string relativeLocalPath)
{
// trim all leading occurrences of "..\" and navigate a folder up in the server path
while (re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SiteMap_VS2013_Identity.Services
{
public partial class About : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} |
namespace VGGLinkedIn.Web.ViewModels.Users
{
using System;
using System.Linq.Expressions;
using VGGLinkedIn.Common;
using VGGLinkedIn.Data.Models;
public class ProjectViewModel : IMapFrom<Project>, IHaveCustomMappings
{
public static Expression<Func<Project, ProjectViewModel>> ViewMod... |
/* ---------------------------------------
* Author: Martin Pane (martintayx@gmail.com) (@tayx94)
* Collaborators: Lars Aalbertsen (@Rockylars)
* Project: Graphy - Ultimate Stats Monitor
* Date: 15-Dec-17
* Studio: Tayx
*
* This project is released under the MIT license.
... |
using System;
using Lamar.IoC.Frames;
using Lamar.IoC.Instances;
using Lamar.IoC.Resolvers;
using LamarCodeGeneration;
using LamarCodeGeneration.Model;
using Microsoft.Extensions.DependencyInjection;
namespace Lamar.IoC.Lazy
{
internal class FuncInstance<T> : Instance
{
public FuncInstance() : base(t... |
using System;
using cAlgo.API;
using cAlgo.API.Internals;
namespace cAlgo.Indicators
{
[Indicator(IsOverlay = true, AccessRights = AccessRights.None)]
public class ZigZag : Indicator
{
[Parameter(DefaultValue = 12)]
public int Depth { get; set; }
[Parameter(DefaultValue = 5)]
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using System.Reflection;
using Microsoft.AspNetCore.StaticWebAssets;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
namespace ... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... |
namespace Utilities
{
using System;
public static class ConsoleProperties
{
public static void InitialConsoleSettings()
{
Console.CursorVisible = false;
Console.WindowHeight = 15;
Console.WindowWidth = 60;
Console.BufferHeight = Console.Wi... |
using System.Collections.Generic;
using ProtoBuf;
using System.IO;
namespace AccentBase.ProtoClasses
{
class ProtoMaterial
{
[ProtoContract]
public class protoRowsList
{
[ProtoMember(1)]
public List<protoRow> plist { get; set; }
}
[ProtoContract]... |
// 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.Windows.Forms.PropertyGridInternal
{
using System.Runtime.InteropServices;
using System.C... |
using PossumLabs.Specflow.Core.Variables;
using System;
using System.Collections.Generic;
using System.Text;
namespace PossumLabs.Specflow.Core.UnitTests.RepositoryDefaults
{
public class Company : IValueObject
{
}
public class CompanyRepository : RepositoryBase<Company>
{
public CompanyR... |
using HarmonyLib;
using Verse;
namespace SyrHarpy
{
// Token: 0x02000013 RID: 19
[HarmonyPatch(typeof(Pawn_EquipmentTracker), "TryDropEquipment")]
public static class TryDropEquipmentPatch
{
// Token: 0x06000046 RID: 70 RVA: 0x00003847 File Offset: 0x00001A47
[HarmonyPrefix]
pu... |
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.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... |
namespace ToDoList.Droid.UI.Fragments
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
... |
namespace Snittlistan.Web.Infrastructure.Attributes
{
using System.Web.Mvc;
public class SetTempModelStateAttribute : ActionFilterAttribute
{
public override void OnActionExecuted(ActionExecutedContext filterContext)
{
filterContext.Controller.TempData["ModelState"] = filterCon... |
using KSP.Localization;
namespace KerbalHealth
{
class KerbalHealthRadiationSettings : GameParameters.CustomParameterNode
{
public override string Title => Localizer.Format("#KH_RS_title");//"Radiation"
public override GameParameters.GameMode GameMode => GameParameters.GameMode.ANY;
public override... |
@model CadFuncionario.Models.Departamento
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>Departamento</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.DEPARTAMENTO_NOME)
</dt>
<dd>
@Html.DisplayFor(model => m... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentAssertions;
using TestableFileSystem.Fakes.Builders;
using TestableFileSystem.Interfaces;
using Xunit;
namespace TestableFileSystem.Fakes.Tests.Specs.FakeDirectory
{
public sealed class DirectoryEnumerateEntriesSpecs
... |
/*
* Copyright 2014 Xamarin Inc. All rights reserved.
*
* Authors:
* Rolf Bjarne Kvinge <rolf@xamarin.com>
*
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
usin... |
using System.Collections.Generic;
using UnityEngine;
using RUT.Tools.Pool;
using RUT.Utilities.Identification;
namespace RUT.Examples.Pool.Ex2
{
/// <summary>
/// PoolExample1 class.
/// </summary>
public class PoolExample1 : MonoBehaviour
{
#region Public properties
public AssetPo... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
// Smdn.Fundamental.Stream.TextReader.dll (Smdn.Fundamental.Stream.TextReader-3.0.0 (net5.0))
// Name: Smdn.Fundamental.Stream.TextReader
// AssemblyVersion: 3.0.0.0
// InformationalVersion: 3.0.0 (net5.0)
// TargetFramework: .NETCoreApp,Version=v5.0
// Configuration: Release
using System.Collections.Generic... |
/******************************************************************************
*
* The MIT License (MIT)
*
* MIConvexHull, Copyright (c) 2015 David Sehnal, Matthew Campbell
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... |
// 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.Linq;
using Foundation;
using UIKit;
namespace LedControlApp.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a differen... |
using System;
class Program
{
static void Main(string[] args)
{
int name = int.Parse(Console.ReadLine());
int day = int.Parse(Console.ReadLine());
int month = int.Parse(Console.ReadLine());
int year = int.Parse(Console.ReadLine());
int hours = int.Parse(Console.ReadLin... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Insane.Serialization
{
public class JsonByteArrayConverter : JsonConverter
{
public override void WriteJson(
JsonWriter writer,
... |
using System;
using System.IO;
namespace Faithlife.Utility
{
/// <summary>
/// Copies data from one stream to another.
/// </summary>
public static class StreamUtility
{
/// <summary>
/// Reads all bytes from the stream.
/// </summary>
/// <param name="stream">The stream.</param>
/// <returns>An array o... |
using System;
using System.Text;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Globalization;
using CommonUtils;
namespace PresetConverter
{
/// <summary>
/// Native Instruments Kontakt 6 64-out Preset
/// </summary>
public class NIKontakt6_6... |
using System;
using DatabaseImporter.Common.Database.Connection;
using DatabaseImporter.Database.Connection;
using Moq;
using Shouldly;
using Xunit;
namespace DatabaseImporter.Tests
{
public class DefaultDbConnectionFactoryTests
{
[Fact]
public void Should_Throw_If_The_Connection_String_Does_N... |
using PT.Common;
using System;
namespace PT.Feeder
{
internal class ConsoleLogger : IAppLogger
{
private static LogLevel _level = LogLevel.Error;
private Type _source;
public LogLevel LogLevel
{
get
{
return _level;
}
}
public void Debug(string message)
{
... |
namespace GSMTest
{
using System;
using System.Collections.Generic;
public class GSM
{
private static string iPhone4S = "IPhone 4S";
private const decimal InitialNumber = 0;
private const string InitialString = null;
private const decimal PricePerSecond = 0.37M / 60;
... |
using Microsoft.CognitiveSearchIntegration.Utilities.Nugets.CustomTextAuthoringClient.RestClient;
using Microsoft.CognitiveSearchIntegration.Utilities.Nugets.CustomTextAuthoringClient.RestClient.ApiModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading... |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SSH.NET UAP 10.0")]
[assembly: InternalsVisibleTo("Renci.SshNet.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f9194e1eb66b7e2575aaee115ee1d27bc100920e7150e... |
using CairoDesktop.Common.Logging;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
namespace CairoDesktop
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
prote... |
using System.Data.Entity.ModelConfiguration;
using AW.Types;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace AW.Mapping {
public class DepartmentMap : EntityTypeConfiguration<Department> {
public DepartmentMap() {
// Primary Key
... |
using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
[assembly: AssemblyProduct("MyTested.AspNetCore.Mvc.Options.Test")]
[assembly: ComVisible(false)]
[assembly: CollectionBehavior(DisableTestParallelization = true)] |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraScreenResolution : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
} |
// 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.
namespace Microsoft.Data.Entity.FunctionalTests.TestModels.NullSemantics
{
public class NullSemanticsEntity1 : NullSemanticsEntityBase
{
}
} |
//------------------------------------------------------------------------------
// <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>
//---... |
// ***********************************************************************
// Assembly : MPT.CSI.API
// Author : Mark Thomas
// Created : 06-12-2017
//
// Last Modified By : Mark Thomas
// Last Modified On : 10-08-2017
// **********************************************************************... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Azure.WebJobs.Host.Listeners;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Azure.WebJobs.Extensions.WebPubSub.Tests
{
... |
using System.Collections.Generic;
using HotChocolate.Language;
using HotChocolate.Types;
namespace HotChocolate.Execution
{
internal static class ArgumentNonNullValidator
{
public static Report Validate(IType type, IValueNode value, Path path)
{
if (value.IsNull())
{
... |
using System;
using System.Collections.Generic;
namespace Typescript_include_generator {
public sealed partial class Folder {
/// <summary>
///
/// </summary>
public String Path { get; set; }
/// <summary>
///
/// </summary>
public List<Folder> Su... |
using SPE.Api.Proxys;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using TuImportas.eShop.BL.BE;
namespace TuImportas.eShop.PL.Web
{
public partial class PagoEfectivo : System.W... |
public static class Foo
{
public static void F1()
{
var array = new int;
}
public static void F2()
{
var array = new int[];
}
public static void F3()
{
var array = new int[;
}
public static void F4()
{
var array = new int[0;
}
public static void F5()
{
var array = new int0];
}
public stat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Trinity.Configuration
{
/// <summary>
/// Represents a property of a configuration entry.
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple=false, Inherit... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
using FF12PCRNGHelper.Patching;
using RFDown.Windows;
u... |
//--------------------------------------------------------
// This code is generated by AutoFastGenerator.
// You should not modify the code.
//--------------------------------------------------------
namespace FlowScriptEngineBasic.FlowSourceObjects.Int32
{
public partial class MaxFlowSourceObject
{
... |
namespace BluebirdPS.APIV2.TweetInfo.Context {
public class ContextAnnotation : TwitterObject
{
public Domain Domain { get; set; }
public Entity Entity { get; set; }
ContextAnnotation() { }
ContextAnnotation(dynamic input) {
OriginalObject = input;
if (He... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace TAEDX.TaeEditor
{
public class TaeScrollingString
{
public Color TextColor = Color.White;
public Color TextShadowColor = Color.Black;
public string Text { get; private set; }
private Vector2 TextSi... |
// 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 StarkPlatform.Compiler.Operations
{
/// <summary>
/// Represents a simple assignment operation.
/// <para>
/// Current usage:
/... |
//THIS FILE IS AUTOGENERATED BY GHOSTCOMPILER. DON'T MODIFY OR ALTER.
using System;
using AOT;
using Unity.Burst;
using Unity.Networking.Transport;
using Unity.NetCode.LowLevel.Unsafe;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Entities;
using Unity.Collections;
using Unity.NetCode;
using Unity.Transforms;
us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using XGame.Core.Components;
using XGame.Core.Engine;
using XGame.Core.Engine.Components;
using XGame.Core.Network;
using XGame.Core.Scene;
using XGame.Core.System;
... |
//---------------------------------------------------------------------
// <copyright file="WrappedDataServiceRequest`1.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------... |
namespace _04_BasicQueueOperations
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class StartUp
{
static void Main()
{
var input = Console.ReadLine().Split().Select(int.Parse).ToList();
var numbersCount = i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.