text stringlengths 1 932k |
|---|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle( "IPMsgLauncher" )]
[assembly: AssemblyDescription( "" )]
[assembly: AssemblyConfiguration( "" )]
[assembly: AssemblyCompany( "" )]
[assemb... |
namespace MassTransit.RabbitMqTransport.Configurators
{
using System;
using System.Security.Authentication;
public class RabbitMqHostConfigurator :
IRabbitMqHostConfigurator
{
static readonly char[] _pathSeparator = {'/'};
readonly ConfigurationHostSettings _settings;
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using BusinessLogic.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Unit_Tests
{
/// <summary>
///This is a test class for ValidationTest and is intended
///to contain all ValidationTest Unit Tests
///</summary>
[TestClass()]
public class ValidationTest
{
... |
using FluentAssertions.Primitives;
using WireMock.Server;
namespace FluentAssertions.WireMock
{
public class WireMockReceived : ReferenceTypeAssertions<WireMockServer, WireMockReceived>
{
public WireMockReceived(WireMockServer server)
{
Subject = server;
}
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Util;
using Android.Graphics;
using Newtonsoft.Json;
using Java.Nio;
using static Android.Gra... |
@{
ViewData["Title"] = "Empty Cart";
}
<style>
* {
position: center
}
</style>
<h2>Oh no! Your cart is empty!</h2>
<br />
<p>You can add items to your cart after choosing a location!</p>
<br />
<a asp-action="SelectLocation" asp-controller="Selection">Click here to see a list of stores!</a> |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
using Mosa.Compiler.Framework;
namespace Mosa.Platform.x64.Instructions
{
/// <summary>
/// MovzxLoad8
/// </summary>
/// <seealso cref="Mosa.Platform.x64.X64Instruction" />
public sealed clas... |
/*
* Copyright 2018 faddenSoft
*
* 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 ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shoot : MonoBehaviour
{
public float bulletSpeed;
AudioSource audioSource;
ObjectPooler objectPooler;
void Start()
{
audioSource = GetComponent<AudioSource>();
objectPooler = ... |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Arkivujo.Alfresco.Core.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class NodeBodyUpdate {
/// <summary>
/// The name m... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory;
using ICSharpCode.PythonBinding;
using NUnit.Framework;
namespace PythonBinding.T... |
using HarmonyLib;
using MoonSharp.Interpreter;
using System;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Networking;
using System.Reflection.Emit;
class LuaPowerBeingVariables
{
public static void SetVar... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("XamFormsAuthenticateProviders")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfigu... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("Microsoft.PowerFx.Interpreter.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Proxy
{
class CachedYouTubeClass : YouTubeLib
{
private YouTubeLib service;
private ListVideos listCache;
private Video videoCache;
private string downloadedVideo;
... |
////////////////////////////////////////////////////////////////////////////////
//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... |
// <copyright file="LogLevel.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.Log4Net.CoreSignalR
{
using System.Collections.Generic;
using System.Threading;
using log4net.Core;
/// <summary>... |
// <auto-generated />
using EntityFrameworkNet5.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace EntityFrameworkNet5.Data.Migrations
{
[DbContext(typeo... |
// ****************************************************************************************
// Copyright (C) 2010, Jorn Skaarud Karlsen
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
... |
// 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.Diagnostics;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
namespace System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Management;
using System.Runtime.Remoting.Messaging;
using System.Security.Cryptography;
using System.Text;
using OSharp.Utility.Extensions;
using OSharp.Utility.Secutiry;
namespace OSharp.Utility.Windows
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Web;
namespace Aurora.Jobs.Core.Business.Info
{
/// <summary>
/// 页面参数模型
/// </summary>
public class PageParameter
{
public PageParameter()
{
}
/// <summary>
... |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2016 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Glader.ASP.GameConfig
{
public enum TestConfigType
{
Keybind = 1,
Actionbar = 2,
Video = 3
}
} |
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved.
#if ADDRESSABLES_AVAILABLE
using System;
using System.Collections.Generic;
using UniRx.Async;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.ResourceLocations;
namespace Naninovel
{
public cla... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using System.Globalization;
using System.Linq.Expressions;
using commercetools.Sdk.Linq.Query.Visitors;
namespace commercetools.Sdk.Linq.Query.Converters
{
// local variable string key = "c14"
// key in c.Key = key
// int minutes = 10
// hardcoded
// "c14" in c.Key = "c14"
public class Constan... |
// <copyright file="DriverService.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// t... |
using DotNetNuke.Entities.Modules;
using DotNetNuke.Framework;
using DotNetNuke.Framework.JavaScriptLibraries;
using DotNetNuke.Services.Scheduling;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using Vanjar... |
// Copyright (c) 2020-2021 百小僧, Baiqian Co.,Ltd.
// Furion is licensed under Mulan PSL v2.
// You can use this software according to the terms and conditions of the Mulan PSL v2.
// You may obtain a copy of Mulan PSL v2 at:
// https://gitee.com/dotnetchina/Furion/blob/master/LICENSE
// THIS SOFTWARE IS PRO... |
using System;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_7129684e_bf84_4c8b_996e_baba68094585
{
public class Ceil : Instance<Ceil>
{
[Output(Guid = "bc97d61a-0e23-469c-83d9-4a687c8e0016")]
public readonly Slot<float>... |
using System.Runtime.InteropServices;
namespace Vulkan
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate VkResult PFN_vkQueueSubmit([NativeTypeName("VkQueue")] ref VkQueue queue,
[NativeTypeName("uint32_t")] uint submitCount... |
#pragma checksum "F:\DotNetSelfPractise_Home\source\Classes\Class20 EF More\AspNetFeaturesDemo\Demo.Web\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7df0414432c731cc45ddd159ac17406f048bcd65"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting... |
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("06.... |
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("Sma... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace Pims.Dal.Entities
{
[Table("PIMS_PPH_STATUS_TYPE")]
public partial class PimsPphStatusType
{
... |
namespace BDFramework.GameStart
{
public interface IGameStart
{
void Start();
void Update();
void LateUpdate();
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using accel;
using dbg;
using er;
using er.... |
namespace Microsoft.VisualStudio.Threading.Analyzers.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis;
using Xunit;
using Xunit.Abstractions;
... |
using Kentico.Kontent.Delivery.Abstractions;
using Kentico.Kontent.Delivery.Abstractions.InlineContentItems;
namespace Kentico.Kontent.Delivery.InlineContentItems
{
/// <summary>
/// Resolver which is replacing content items in richtext with warning message about insufficient depth for content item. Used as d... |
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
namespace AlocaGFT.ViewModels
{
public class TecnologiaViewModel
{
public long? Id { get; set; }
public bool HasId => this.Id > 0;
[Required(ErrorMessage="O campo {0} é obrigatório!")]
public string No... |
// Copyright 2010 Chris Patterson
//
// 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 a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using nPact.Common.Contracts;
using nPact.Provider.Contracts;
namespace nPact.Provider.Model
{
class Result : ITestResult
{
private readonly List<string> errors;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CertInfo
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
... |
// Generated by SharpKit.QooxDoo.Generator
using System;
using System.Collections.Generic;
using SharpKit.Html;
using SharpKit.JavaScript;
namespace qx.ui.virtualx.selection
{
/// <summary>
/// <para>EXPERIMENTAL!</para>
/// <para>Objects, which are used as delegates for a virtual selection manager may
/// impl... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------------------------------... |
// <auto-generated />
using System;
using IdentityServer4.EntityFramework.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueC... |
using Microsoft.ApplicationInsights.Extensibility;
using System;
namespace Ark.Tools.ResourceWatcher.ApplicationInsights
{
public sealed class ResourceWatcherTelemetryModule : ITelemetryModule, IDisposable
{
private ResourceWatcherDiagnosticListener _diagnosticListener;
public void Dispose()
... |
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, wit... |
namespace bank
{
partial class dynamicForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... |
/*
* 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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AppBarragem.WEB.ADM.Models
{
public class InsumoViewModel
{
public int Id { get; set; }
public string Descricao { get; set; }
public InsumoViewModel()
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace Norm
{
public partial class Norm
{
public IEnumerable<(T1, T2, T3, T4, T5, T6, T7, T8)> Read<T1, T2, T3, T4, T5, T6, T7, T8>(string command)
{
var t1 = TypeCache<T1>.GetMetadata();
... |
/*
* C# Server Emulator Project Blackout / PointBlank
* Authors: the__all
* Copyright (C) 2015 | OZ-Network
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Core.Model
{
public class Item
{
public int ItemId;
public int Id;
public i... |
// 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.Reactive.Linq
{
public partial class AsyncObservable
{
public static IAsyncObserv... |
// *** 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.ComponentModel;
using Pulumi;
namespace Pulumi.AzureNextGen.Security.V20200101Preview
{
/// <summary>
/// Connect to your cloud ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace BookLibraryCsharp
{
public class Program
{
... |
/* File: Fitness.cs
* from chapter 18 of _Genetic Algorithms with Python_
* writen by Clinton Sheppard
*
* Author: Greg Eakin <gregory.eakin@gmail.com>
* Copyright (c) 2018 Greg Eakin
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance w... |
using System;
using kiwiho.EFcore.MultiTenant.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Filters;
namespace kiwiho.EFcore.MultiTenant.Core.Interface
{
public interface ITenantInfoGenerator
{
TenantInfo GenerateTenant(object sender, HttpContext httpContext);
}
} |
// *** 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... |
// WinterLeaf Entertainment
// Copyright (c) 2014, WinterLeaf Entertainment LLC
//
// All rights reserved.
//
// The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement").
//
// These license terms are an agreement between WinterLeaf Entertainment LLC a... |
namespace TetrisWasm.Client.Pages
{
using System;
using TetrisWasm.Client.Shared;
using TetrisWasm.Shared;
public partial class Index
{
private readonly TetrisBoard Board = new TetrisBoard();
private bool HasLostGame;
public Index()
{
// Example of hand... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class obstacle_rotation : MonoBehaviour {
private float targetAngle;
//旋转速度(一圈多少秒)
public float rotateSpeed;
public bool isClockwise;
private float deltaAngle;
private void Awake()
{
//初始化
... |
namespace NSBPerf.Controller.StepA
{
using System.Threading;
using Messages;
using NServiceBus;
public class Handler : IHandleMessages<DoStepA>
{
public IBus Bus { get; set; }
public void Handle(DoStepA message)
{
//Thread.Sleep(150);
Bus.Reply(new S... |
// 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 ... |
/* Copyright (c) 1996-2019 The OPC Foundation. All rights reserved.
The source code in this file is covered under a dual-license scenario:
- RCL: for OPC Foundation members in good-standing
- GPL V2: everybody else
RCL license terms accompanied with this source code. See http://opcfoundation.org/License... |
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace BoundedContext.Api
{
public class Program
{
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using System.Net;
using QYQ.DataManagement.Extension.Customs.Dtos;
namespace QYQ.DataManagement.AuditLogs
{
public class PagingAuditLogListInput : PagingBase
{
public string Sorting { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; s... |
namespace Stripe
{
using System;
using Newtonsoft.Json;
public class DateRangeOptions : INestedOptions
{
[JsonProperty("gt")]
public DateTime? GreaterThan { get; set; }
[JsonProperty("gte")]
public DateTime? GreaterThanOrEqual { get; set; }
[JsonProperty("lt")]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Xml.XPath;
using SandcastleBuilder.Utils;
using Sandcastle.Core;
using SandcastleBuilder.Utils.BuildEngine;
using SandcastleBuilder.Utils.BuildComponent;
using System.Xml.Linq;
using System.IO;
// Search for "T... |
using System;
namespace ImmunizationApi
{
public static class ImmunizationEnvironment
{
/// <summary>
/// Ministry of health medical log API.
/// </summary>
public static class MedicalLogApi
{
public static string Url { get { return Environment.GetEnvironmen... |
using RPAAction.Base;
using System;
using System.Data.Common;
using System.Data.SqlClient;
namespace RPAAction.Data_CSO
{
public class SQLServerDataImport : RPADataImport
{
public SQLServerDataImport(string DataSource, string DataBase, string user, string pwd, string table)
{
connS... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class RayLoader : MonoBehaviour
{
public List<RayGroup> LoadRays(string path)
{
var rayData = File.ReadAllLines(path);
var rayDataList = new List<RayGroup>();
f... |
using System;
using System.Collections.Generic;
using Machine.Container.Activators;
using Machine.Container.Model;
using Machine.Container.Services;
using Machine.Container.Services.Impl;
using Machine.Core;
using NUnit.Framework;
using Rhino.Mocks;
namespace Machine.Container.Activators
{
[TestFixture]
public ... |
using hideandseek.Teams;
using Sandbox;
using System;
using System.Collections.Generic;
namespace hideandseek
{
public partial class HSPlayer : Player
{
[Net] public int TeamIndex { get; set; }
private int lastTeamIndex { get; set; }
public BaseTeam Team {
get => HSGame.Instance.GetTeamById(TeamIndex); ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;
... |
@model DROD.Models.Users
@{
ViewData["Title"] = "Details";
}
<!-- Style -->
<link href="https://fonts.googleapis.com/css?family=Oswald:700|Patua+One|Roboto+Condensed:700" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<font color="whi... |
using Aow.Infrastructure.Common;
using Aow.Infrastructure.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using TreeUtility;
namespace AowCore.Domain
{
public class ItemUnit : Entity<Guid>, ITreeNode<ItemUnit>
{
private Guid? _parentCategoryId;
... |
using System;
using System.ComponentModel;
using System.Linq;
using System.Net.Sockets;
using System.Threading;
using System.Windows.Forms;
namespace Wangfs763.Cards.ControlPanel
{
[ToolboxItem(false)]
public partial class NetPanel : UserControl
{
private bool m_Pause;
private int m_SumSen... |
namespace Shapes
{
using System;
public class ShapesTest
{
static void Main()
{
Shape[] test = new Shape[]
{
new Triangle(2, 3.33m),
new Square(4),
new Triangle(3.33m, 4),
new Rectangle(3, 3.5m),
... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Rapidnack.Common
{
public partial class LoggingTextBox : TextBox
{
private LogWriter logWriter;
[DefaultValue(10000), Category("Logging"), Description("Maximum number of characters")]
public int Limit { get; set; } = 10000;
p... |
////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009, Daniel Kollmann
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted
// provided that the following conditions are met:
//
/... |
using System.Collections.Generic;
using TakTikan.Tailor.Authorization.Users.Importing.Dto;
using Abp.Dependency;
namespace TakTikan.Tailor.Authorization.Users.Importing
{
public interface IUserListExcelDataReader: ITransientDependency
{
List<ImportUserDto> GetUsersFromExcel(byte[] fileBytes);
}
} |
/*
* Copyright 2020 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 "licens... |
using Microsoft.EntityFrameworkCore;
using Mod.CatsV3.Domain.Entities;
using Mod.CatsV3.Domain.Interfaces;
using Mod.Framework.EfCore.Repositories;
using Mod.Framework.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Mod.CatsV3.... |
// *** 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 EnvDTE;
namespace FastNewFile.Templates
{
interface IItemCreator
{
ItemInfo Create(Project project);
}
public class ItemInfo
{
public string FileName { get; set; }
public string Extension { get; set; }
public static readonly ItemInfo Empty = new ItemInfo();
... |
using Byndyusoft.Data.Relational.QueryBuilder.Interfaces;
using System;
using System.Linq.Expressions;
namespace Byndyusoft.Data.Relational.QueryBuilder.QueryObjectBuilders.Upsert
{
public class UpsertQueryBuilderConflictPropertyPicker<T> where T : IEntity
{
private readonly UpsertQueryBuilder<T> _bui... |
using System;
using System.Collections.Generic;
using System.Linq;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace Monoceros {
public class ComponentRuleOuterConstruct : GH_Component {
public ComponentRuleOuterConstruct( )
: base("Construct Rule At Boundary",
"Rule... |
// 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.Collections.Immutable;
using StarkPlatform.CodeAnalysis.Stark.Symbols;
using StarkPlatform.CodeAnalysis.PooledObjects;
namespace StarkPlatform.... |
using System;
using System.IO.Compression;
using System.IO;
using System.Linq;
using TensorShader;
using TensorShaderUtil.BatchGenerator;
namespace MNIST {
public class MnistImagesLoader : MultitaskBatchGenerator {
protected byte[] filedata;
private static readonly int mnist_size = 28, mnist_lengt... |
// Copyright (c) ClrCoder community. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace System.Runtime.CompilerServices
{
using System.Threading.Tasks;
using JetBrains.Annotations;
/// <summary>
/// Scoped language construct a... |
using System.CodeDom.Compiler;
using System.Runtime.Serialization;
using SolidRpc.Tests.Swagger.CodeGen.Vitec.Types.Common.Estate;
namespace SolidRpc.Tests.Swagger.CodeGen.Vitec.Types.Estate.Models {
/// <summary>
///
/// </summary>
[GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")]
public class P... |
@page
@model IdentityStandaloneMfa.AdminModel
@{
ViewData["Title"] = "Admin";
Layout = "~/Pages/Shared/_Layout.cshtml";
}
<h1>Admin so you logged in with MFA, nice!</h1> |
using System.IO;
using System.Reflection;
namespace Mimp.SeeSharper.IO.Provide.File
{
public class EntryFileStreamProvider : FileStreamProvider
{
public EntryFileStreamProvider()
: base(Path.GetDirectoryName(Assembly.GetEntryAssembly()!.Location)!) { }
}
} |
using MTProto.NET.Attributes;
namespace MTProto.NET.Schema.TL
{
[MTObject(0x4bd6e798)]
public class TLMessageMediaPoll : TLAbsMessageMedia
{
public override uint Constructor
{
get
{
return 0x4bd6e798;
}
}
[MTParameter(Orde... |
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class ShopButton : MonoBehaviour
{
[SerializeField] private ShopItemData data;
[Header("References")]
[SerializeField] private Image image;
[SerializeField] private TextMeshProUGUI value;
[SerializeField] private Image selectedImage;
[SerializeField]... |
using System;
using Take.Elephant.Redis;
using Take.Elephant.Redis.Serializers;
using Xunit;
namespace Take.Elephant.Tests.Redis
{
[Trait("Category", nameof(Redis))]
[Collection(nameof(Redis))]
public class RedisGuidItemSetFacts : GuidItemSetFacts
{
private readonly RedisFixture _redisFixture;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.