text stringlengths 1 932k |
|---|
using Microsoft.EntityFrameworkCore.Migrations;
namespace etickets_app.Migrations
{
public partial class _ : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
}
... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using MsgPack;
using MsgPack.Serialization;
#if !WINDOWS_UWP
using WebSocketSharp;
#endif
using UnityEngine;
namespace Colyseus
{
/// <summary>
/// Colyseus.Client
/// </summary>
/// <remarks>
//... |
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("ToD... |
// Copyright 2017 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityStandardAssets.ImageEffects;
namespace FEDE {
namespace Revolve {
public class MainMenuController : SceneController {
public Animator textAnimator;
public BuildCircleMesh progressIndicator;
public Button postFXBut... |
// 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;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
using osu.Framework.Allocation;
using ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Microsoft.ML.OnnxRuntime;
using System.Numerics.Tensors;
namespace CSharpUsage
{
class Program
{
public static void ... |
using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace ForeSpark.EntityFrameworkCore
{
public static class ForeSparkDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<ForeSparkDbContext> builder, string connectionString)
{
builder.UseSqlServ... |
// <auto-generated />
using HomeAutomation.Helpers.Contexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
names... |
#if FEATURE_SERIALIZABLE
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Util
{
/*
* Licensed to the Apache Softwa... |
using System;
/* Write a program that reads two integer numbers N and K and an array of N elements from
the console. Find in the array those K elements that have maximal sum.
*/
class MaximalKSum
{
static void Main()
{
Console.Write("Enter number of elements K and press ENTER: ");
int k = int... |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using UnityEngine;
public class RedHexabuttons
{
private ColorfulButtonSeries coloredHexabuttons;
private KMAudio Audio;
private int moduleId;
private KMSelectable[] hexButtons;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CriacaoDeLista_
{
class Program
{
//Versão 2.0 agora com nome correto
static void Main(string[] args)
{
//Iniciando uma lista de string com array li... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using Renci.SshNet;
using Renci.SshNet.Common;
namespace ssh.gateway.lib.models
{
public class Tunnel : IDisposable
{
public static IPAddress Parse(string ip)
{
... |
using NBitcoin;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace WalletWasabi.Crypto
{
public record Bip322Signature : IBitcoinSerializable
{
private Script _scriptSig = Script.Empty;
public Bip322Signature(Script scriptSig, WitScript witness)
{
_scriptSig = scriptSig;
Witness = witness... |
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("ma... |
using System;
using System.ComponentModel;
using Android.Content;
using Android.Views.InputMethods;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using XamForms.Enhanced.Views;
[assembly: ExportRenderer(typeof(ExtendedEntry), typeof(XamForms.Enhanced.Droid.Renderers.ExtendedEntryRenderer))]
namespace Xam... |
// <copyright file="TeamProjectController.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.Grow.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.App... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
// <auto-generated />
using ElasticDbTenants.TenantDb;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ElasticDb... |
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
@@{
Layout = "@(Model.LayoutPageNoExtension)";
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ListViewTest
{
class SEListViewStandardLayoutManager : SEListViewLayoutManager
{
public SEListViewStandardLayoutManager(SEListView imageListView)
: base(imageListView)
{
this... |
using UnityEngine;
using HoloLensCameraStream;
using System.Linq;
using System.Collections.Generic;
using System;
using Microsoft.MixedReality.Toolkit.UI;
public class WebCamStream : MonoBehaviour
{
public Interactable cameraButton;
public Interactable previewButton;
public GameObject previewQuadTexture;... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace ICKX.Kerosene {
public class AssetBundleUtility {
public const string AssetBundlesOutputPath = "AssetBundles";
public static string GetPlatformName()
{
#if UNITY_EDITOR
return GetPlatformForAssetBundles(EditorUserBuildSettings.activ... |
using System;
namespace Monkey.Object
{
public struct HashKey : ICloneable
{
public ObjectType Type { get; set; }
public long Value { get; set; }
public override bool Equals(object obj)
{
return obj is HashKey hashKey && hashKey.Value == Value && hashKey.Type == Ty... |
//
// Copyright (c) Antmicro
// Copyright (c) Realtime Embedded
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using Emul8.Logging;
using Emul8.Peripherals.Bus;
namespace Emul8.Peripherals.Cache
{
public class PL310 : IDoubleWordPeripheral
{
... |
using Contacts.BusinessLogic.Services.Abstract;
using Contacts.Core.Response.Abstract;
using Contacts.DTOs;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Contacts.HttpApi
{
public class ContactsController : BaseController
{
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using Test.Referenced.Library;
using Xunit;
namespace McMaster.NETCore.Plugins.Tests
{
public class SharedTypesTests
{
[Fact]
public void PluginsCanForceSharedTypes()
... |
//------------------------------------------------------------------------------
// <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 System.Linq;
namespace Mvc.Controls.DataTable.Infrastructure
{
public class LengthMenuVm : List<Tuple<string, int>>
{
public LengthMenuVm()
{
}
/// <summary>
/// Create a lengthmenuvm with op... |
using System.Collections.Generic;
namespace com.Github.Haseoo.BMMS.Data.Entities
{
public class Company : Entity
{
public virtual string Name { get; set; }
public virtual string Address { get; set; }
public virtual string Voivodeship { get; set; }
public virtual string City {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace WebRole1
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Ar... |
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Logical
{
using System.Threading.Tasks;
using EtAlii.Ubigia.Api.Fabric;
internal class NodeToIdentifierAssigner : INodeToIdentifierAssigner
{
private rea... |
using System.Collections.Generic;
using Ola.Data.Query.Translators;
namespace Ola.Data.SqlServer.Query.Translators
{
/// <summary>
/// SQLServer方法调用转换类。
/// </summary>
public class SqlServerCompositeMethodCallTranslator : RelationalCompositeMethodCallTranslator
{
/// <summary>
/// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DontDestroyOnLoad : MonoBehaviour
{
// Use this for initialization
void Start()
{
DontDestroyOnLoad(gameObject);
}
// Update is called once per frame
void Update()
{
}
} |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenLaMulana.Entities
{
public interface IGameEntity
{
int DrawOrder { get; }
void Update(GameTime gameTime);
void Draw(SpriteBatch spri... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace CodeCake
{
/// <summary>
/// This is the same algorithm and configuration as https://github.com/appveyor/secure-file.
/// </summ... |
using System.Collections.Generic;
using JetBrains.Annotations;
using Vostok.Metrics.Models;
namespace Vostok.Metrics.Primitives.Timer
{
[PublicAPI]
public class TimerConfig
{
internal static readonly TimerConfig Default = new TimerConfig();
/// <summary>
/// See <see cref="MetricEv... |
/*
* The MIT License
*
* Copyright 2019 Palmtree Software.
*
* 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, co... |
using System.CommandLine.IO;
namespace Arbiter.Core
{
public static class StandardStreamWriterExtensions
{
public static void VerboseWrite(this IStandardStreamWriter writer, string value = "")
{
if (!Globals.Verbose)
{
return;
}
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
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... |
/*
* 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 ... |
// <auto-generated />
using System;
using WebApplication1.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace W... |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
namespace Microsoft.Xna.Framework.Audio
{
enum RpcPointType
{
Linear,
Fast,
Slow,
SinCos
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LibraryManagement.Models
{
public class LmCompaniesEquivalences : LmEquivalences
{
}
} |
using Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mml2vgmIDE
{
public class mucomMub : baseDriver
{
public uint YM2608ClockValue { get; internal set; } = 7987200;
private musicDriverInterface.MmlDatum[] mub... |
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Common.Logging;
namespace Worldpay.Innovation.WPWithin.Sample.Commands
{
/// <summary>
/// A very simple producer that offers a single service for charging cars, with a single price.
/// </summary>
... |
namespace Eva.eShop.Services.Marketing.API.Infrastructure.Repositories
{
using Model;
using System.Threading.Tasks;
public interface IMarketingDataRepository
{
Task<MarketingData> GetAsync(string userId);
Task UpdateLocationAsync(MarketingData marketingData);
}
} |
using System;
using System.Drawing;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Collections.Generic;
namespace PixelPalette.Algorithm {
public static class Ditherer {
public static Bitmap ClosestColor(Bitmap bitmap, Color[] colorPalette) {... |
using System.Reflection;
using ModdingUtils.RoundsEffects;
using UnboundLib;
using UnityEngine;
namespace FFC.HitEffects {
public class InstantKillHitEffect : HitEffect {
public override void DealtDamage(
Vector2 damage,
bool selfDamage,
Player damagedPlayer = null
... |
using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using UnityEngine;
namespace UnityEngine.UI.Windows.Utilities {
public class Tweener : MonoBehaviour {
public enum EaseFunction {
Linear,
}
public static class EaseFunctions {
... |
@using System.Data
@using System.Text
@using ZoomLa.Model
@using ZoomLa.BLL
@using ZoomLa.Common
@using Newtonsoft.Json
@using Newtonsoft.Json.Linq
@{
DataTable typeDt = (DataTable)ViewBag.typeDt;
DataTable questDt = (DataTable)ViewBag.questDt;
}
@functions{
public DataTable GetDT(DataRow dr, DataTable que... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore;
using Pitstop.Application.VehicleManagement.DataAccess;
using Swashbuc... |
using Cryptons.Views.Dialogs;
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Docu... |
// 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 Cake.Common.Build.GitHubActions.Commands
{
internal sealed class PatchArtifactSize
{
publi... |
using NetworkServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Numerics;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace ChatClient
{
public class Client
{
protected internal NetworkStream Stream { get;... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Threading;
using System... |
using System;
using System.Net;
using System.Collections.Generic;
using System.Linq;
namespace Bermuda.QL
{
public static class EvoQLMetadata
{
private static Dictionary<SelectorTypes, GetTypes> _selectorMappings = new Dictionary<SelectorTypes,GetTypes>();
private static Dictionary<SelectorTyp... |
// -----------------------------------------------------------------------
// <copyright file="GossipActor.cs" company="Asynkron AB">
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Coll... |
using Fluid.Ast;
using Fluid.Parser;
using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Fluid.Tests
{
public class ParserTests
{
#if COMPILED
private static FluidParser _parser = new FluidParser... |
// MIT License
// Copyright (c) 2021 Marco Stolze
using System;
using System.Collections.Generic;
using System.Fabric;
using System.Threading;
using System.Threading.Tasks;
using MS.Extensions.Tools;
namespace MS.Extensions.Fabric
{
internal class PropertyManagementClientWrapper : IPropertyManagementClient
{... |
using BlueLotus.Codes.Model.Entity;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Web;
using System.Web.Script.Serialization;
namespace BlueLotus.UI.ApiOperations
{
public partial ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyAbp.EzGet.Admin
{
public static class EzGetAdminRemoteServiceConsts
{
public const string RemoteServiceName = "EzGetAdmin";
public const string ModuleName = "ez-get-admin";
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DatabaseUtilsTools
{
public class PartialDependancyFinder : DependencyFinder, IConsoleRunnable
{
public string GetCode()
{
return "fn2";
}
public void Run(Queue<string> parameters)
... |
namespace Lol.Database.Entites.Schema
{
public class LootItemSortings
{
public int Seq { get; set; }
public string Content { get; set; }
public int Type { get; set; }
}
} |
using AutoMapper;
using Inventory.Application.DTOs;
using Inventory.Application.Queries.Warehouses;
using Inventory.Application.Wrappers;
using Inventory.Domain.Interfaces;
using MediatR;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Inventory.Applicat... |
// <copyright file="SharedAssemblyInfo.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the followi... |
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms;
using System.Windows.Forms.Design;
using CslaGenerator.Metadata;
using CslaGenerator.Util;
namespace CslaGenerator.Design
{
public class SourcePropertyTypeEditor : UITypeEditor
{
private IWindowsFormsEd... |
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2016 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github.com/Interkarma/daggerfall-unity
// Origina... |
// 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using NewRelic.Agent.Api;
using NewRelic.Agent.Extensions.Providers.Wrapper;
namespace Custom.Providers.Wrapper.Grpc
{
public class ServerCallHandlerWrapper : IWrapper
{
bool IWrapper.IsTransactionR... |
using LuisTools.Domain.Contracts;
using LuisTools.Domain.Entities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace LuisTools.Business
{
public class ParametersExtractor : IParametersExtractor
{
private readonly ILogger _logger;
private readonly IAr... |
@{
Layout = "_Layout";
}
@using TreatBox.Models;
@model List<TreatBox.Models.Flavor>;
<h1>Flavors</h1>
@if (@Model.Count == 0)
{
<h3>No flavors have been added yet!</h3>
}
@foreach (Flavor flavor in Model)
{
<li>@Html.ActionLink($"{flavor.FlavorName}", "Details", new { id = flavor.FlavorId })</li>
}
<p>@Htm... |
using UnityEngine;
using System.Collections;
namespace TREESharp{
public class TreePingPlaySound : TreePing {
AudioSource audi;
public float pitchShift = 1;
void Start(){
audi = this.GetComponent<AudioSource> ();
}
public override void Ping(){
audi.pitch = this.GetComponent<Joint> ().scalar.tran... |
namespace WildFarm.Models.Animals
{
using Models.Animals.AbstractTypes;
public class Zebra : Mammal
{
public Zebra(string animalName, double animalWeight, string animalLivingRegion)
: base(animalName, animalWeight, animalLivingRegion)
{
}
public override strin... |
using System;
using System.Collections.Generic;
using Vanjaro.Common.Engines.UIEngine;
using Vanjaro.UXManager.Extensions.Toolbar.ViewLayout.Factories;
namespace Vanjaro.UXManager.Extensions.Toolbar.ViewLayout.Controllers
{
public class UIController : UIEngineController
{
public override List<IUIData>... |
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace com.egamesstudios.cell
{
[CreateAssetMenu(fileName = "EnemyData", menuName = "Custom/Enemy/Flying/Virus", order = 2)]
public class VirusData : FlyingData
{
[FoldoutGroup("Virus")]
... |
using System;
using System.IO;
using System.Threading;
using System.Windows.Forms;
namespace JRunner
{
public class Mtx_Usb
{
// Based on xFlasher system, added due to IoTimedOut issue
private static int inUseCount = 0;
public static string mtxTimeString = "";
System.Timers.Tim... |
using System;
using TechTalk.SpecFlow;
using TekConf.Tests.UI.Screens;
using Xamarin.UITest;
using System.Linq;
using Should;
namespace TekConf.Tests.UI.Steps
{
[Binding]
public class ConferencesListSteps : StepsBase
{
[Given (@"I am on the conferences list screen")]
public void GivenIAmOnTheConferencesListScr... |
// <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.
// </auto-generated>
namespace Microsoft.Azure.Management.BatchAI.Fluent.Mod... |
// 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.Runtime.InteropServices;
using Microsoft.Cci;
namespace Roslyn.Test.Utilities
{
internal class MockSymUnmanagedWriter : ISymU... |
// Core: ★★★★★
// Referenced: ★★★
// Difficult:
// Only: ★★★★
// Complete:
using FanKit.Transformers;
using Microsoft.Graphics.Canvas;
using Retouch_Photo2.Layers;
using System;
using System.Numerics;
namespace Retouch_Photo2.Tools
{
/// <summary>
/// Represents a t... |
/*
* 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 Microsoft.CodeAnalysis.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace H.Generators.IntegrationTests;
internal sealed class CustomAnalyzerConfigOptions : AnalyzerConfigOptions
{
private Dictionary<string, string> Properties { get; }
public CustomAnalyzerConfigOptions(Dictionary<string, s... |
// <copyright file=Scene.cs
// <copyright>
// Copyright (c) 2016, University of Stuttgart
// 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 th... |
using System.Runtime.Serialization;
namespace MarketingBox.Affiliate.Service.Grpc.Models.Brands.Messages
{
[DataContract]
public class BrandSearchRequest
{
[DataMember(Order = 1)]
public long? BoxId { get; set; }
[DataMember(Order = 2)]
public string Name { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
namespace DotnetSamples.WorkingWithItems
{
public class DeleteItem
{
private readonly IAmazonDynamoDB amazonDynamoDB;
public DeleteItem()
... |
using System;
using J = Newtonsoft.Json.JsonPropertyAttribute;
using J1 = System.Text.Json.Serialization.JsonPropertyNameAttribute;
using SoftwarePioniere.Messaging;
namespace SoftwarePioniere.FakeDomain
{
public class FakeRequest : RequestBase
{
[J("text")]
[J1("text")]
public string ... |
using System;
namespace DepartmentStoreOne.Base.Infrastructure.Swagger
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class SwaggerSchemaIdAttribute : Attribute
{
public string Id { get; private set; }
public SwaggerSchemaIdAttribute(string id)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using ServiceLocator.Discovery.Service.Options;
namespace ServiceLocator.Discovery.Service
{
/// <summary>
/// Discovers Services that annotates <see cref="ServiceLocator.Attributes.ServiceAttribute"/> in all currently loaded assemblies
/// </summ... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace RetailerApi.Models;
[JsonSerializable(typeof(Retailer))]
[JsonSerializable(typeof(IEnumerable<Retailer>))]
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Default, PropertyNamingPolicy = JsonKnownNamingPolicy.Came... |
/*
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2017 MinIO, 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... |
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using GreenDonut;
using HotChocolate.Internal;
using HotChocolate.Types;
namespace HotChocolate.Fetching;
public sealed class DataLoaderParameterExpressionBuilder : CustomParameterExpressionBuilder
{
private static readonly MethodInfo _dat... |
// *** 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;
namespace UnrealEngine
{
public partial class UParticleModuleCameraOffset:UParticleModuleCameraBase
{
}
} |
using System;
using System.Collections.Generic;
namespace Pi.Replicate.Worker.Host.Models
{
public class Folder
{
public Folder()
{
}
public Folder(string name, ICollection<Recipient> recipients)
{
Id = Guid.NewGuid();
Name = name;
Recipients = recipients;
}
public Guid Id { get; private s... |
using GameEstate.Cry.Formats.Models;
using System.Collections.Generic;
namespace GameEstate.Cry.Formats.Core
{
public class SkinningInfo
{
/// <summary>
/// If there is skinning info in the model, set to true.
/// </summary>
public bool HasSkinningInfo { get; set; }
///... |
using System;
namespace Constructor_Methods
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Çalışan 1");
calisan calisan1 = new calisan("Ayşe", "Yılmaz", 98, "İnsan Kaynakları");
calisan1.CalisanBilgileri();
Console.WriteL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.