text stringlengths 1 932k |
|---|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Net;
namespace Microsoft.ReverseProxy
{
internal static class ProtocolHelper
{
#if NET5_0
internal static readonly Version Http2Version = HttpVersion.Version20;
internal static readonly Versio... |
/*
* UiPath.WebApi
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: V2
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.T... |
// <copyright file="Notification.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace TokenApp.Service
{
using Newtonsoft.Json;
/// <summary>
/// Post token status change model.
/// </summary>
public class Notification
{
/// <summary>
... |
@model Dominio.Entidades.MateriaPrima
<div class="modal-dialog modal-medium">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Editar Materia Prima</h4>
</div>
<div class="modal-body">
<div class="container-fluid">
... |
using System;
using LaYumba.Functional;
using Unit = System.ValueTuple;
using Reason = System.String;
using static System.Console;
namespace Exercises.Chapter10.Solutions
{
public static class Solutions
{
// 1. Implement `Apply` for `Either` and `Exceptional`.
// see LaYumba.Functional/Either.cs ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _03.converter
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace Aspose.Imaging.Live.Demos.UI.Models
{
/// <summary>
/// File processing result.
/// </summary>
public class FileSafeResult : BaseResult
{
/// <summary>
/// Upload id.
/// </summary>
public strin... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using Un4seen.Bass;
using Un4seen.Bass.Misc;
using Azure.LibCollection.CS;
namespace Azure.MediaUtils
{
public class Visualizer
{
public enum VisualType
{
SpectrumLineN, SpectrumLineP, SpectrumFull, SpectrumBean,
Spec... |
// 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.Linq;
namespace CodeGenerator
{
public class HttpProtocolFeatureCollection
{
public static string GenerateFile()
{... |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.MaintainabilityRules
{
using System;
using System.Collections.Immutable;
using System.Linq;
... |
using System;
using System.IO;
namespace MoneyFox.BusinessLogic.Extensions
{
public static class StreamExtension
{
/// <summary>
/// Reads the bytes of a stream and returns them in an array.
/// </summary>
/// <param name="stream">Stream to read.</param>
/// <return... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace T... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace FreeSql.Internal.CommonProvider
{
public abstract partial class BaseDbProvider : IFreeSql
{
public abstract ISelect<T1> CreateSelectProvider<T1>(object dywhere);
public abstract IInsert<T1> CreateIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Seatown.Data.Validation.Rules
{
public class RuleSet<T>
{
private List<Rule> m_AndRules = new List<Rule>();
private List<Rule> m_OrRules = new List<Rule>();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CCIA.Models
{
public partial class BulkSalesCertificates
{
public BulkSalesCertificates() {
Date = DateTime... |
//https://github.com/hibernating-rhinos/rhino-esb/blob/master/license.txt
//Copyright (c) 2005 - 2009 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:
// * Redi... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace K4os.Data.TimSort.Internals;
internal static class PolyfillExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ref byte Ref0<T>(this Span<T> span) =>
ref Unsafe.As<T, byte>(ref span.GetPinnab... |
using System.Printing;
using System.Windows.Controls;
namespace XSemmel.PrintEngine
{
/// <summary>
/// Represents the PrintPreviewDocumentViewer class with PrintQueue and PrintTicket properties for the document viewer.
/// </summary>
/// <remarks>Source: http://community.sharpdevelop.net/forums/t/120... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using Microsoft.TeamFoundation.Core.WebApi;
using Microsoft.TeamFoundation.WorkItemTracking.WebApi;
using Microsoft.VisualStudio.Services.WebApi.Patch;
using Microsoft.VisualStudio.Services.W... |
namespace Analytics.session.domain
{
public interface IFirstOpenEventSentRepository
{
public bool IsFirstOpen();
public void SetFirstOpenAppeared();
}
} |
/* _BEGIN_TEMPLATE_
{
"id": "GIL_635",
"name": [
"教堂石像兽",
"Cathedral Gargoyle"
],
"text": [
"<b>战吼:</b>如果你的手牌中有龙牌,则获得<b>嘲讽</b>和<b>圣盾</b>。",
"<b>Battlecry:</b> If you're holding a Dragon, gain <b>Taunt</b> and <b>Divine Shield</b>."
],
"cardClass": "PALADIN",
"type": "MINION",
"cost": 2,
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
using Azure.ResourceManager.Core;
namespace ... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AITournamentStrategy2 : AITournamentStrategy
{
public Ability[] CardsToPlay(GameState state, Player player)
{
int currentBP = player.GetBattlePoints(state);
if (currentBP >= 50)
return null;... |
using System.Threading.Tasks;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Compatibility.ControlGallery.iOS.Tests;
using Microsoft.Maui.Controls.Compatibility.ControlGallery.Tests;
using Microsoft.Maui.Dispatching;
#pragma warning disable CS0612 // Type or member is obsolete
[assembly: Dependency(type... |
using System;
namespace UnrealEngine
{
/// <summary>Holds settings for the asset import workflow test</summary>
public partial struct FEditorImportWorkflowDefinition
{
/// <summary>The file to import</summary>
public FFilePath ImportFilePath;
}
} |
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("nin... |
namespace EF6TempTableKit.Test.Web.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("DatabaseLog")]
public partial class DatabaseLog
{
... |
// 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 Kf.Numaris.Api.Common;
using Kf.Numaris.Api.Specifications.Numbers;
using Kf.Numaris.Api.Validation.Results;
namespace Kf.Numaris.Api.Validation.Fields
{
public interface IFieldValidator<TNumberSpecification>
where TNumberSpecification : INumberSpecification
{
Identifier Identifier { get... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Protection.PlayReady
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial interface INDProximityDetectionCompletedEventArgs
{
... |
using System;
using System.Collections;
namespace Nez.Tweens
{
public enum LoopType
{
None,
RestartFromBeginning,
PingPong
}
public abstract class Tween<T> : ITweenable, ITween<T> where T : struct
{
protected enum TweenState
{
Running,
Paused,
Complete
}
protected ITweenTarget<T> _tar... |
using System.ComponentModel.DataAnnotations;
using CcAcca.DemoUpstream;
namespace CcAcca.DemoDownstream
{
public class CustomUserRole : UserRole
{
[StringLength(150)]
public string CustomRoleProp { get; set; }
}
} |
using Microsoft.UI.Xaml.Controls;
namespace WinUISample.Lines.Zoom;
public sealed partial class View : UserControl
{
public View()
{
InitializeComponent();
}
} |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Skybot.Api.Models
{
public class LuisResultModel
{
public IList<LuisIntent> Intents { get; set; }
public IList<LuisEntity> Entities { get; set; }
}
public class LuisIntent
{
[JsonProperty(PropertyName = "in... |
namespace ShoppingCart.Services
{
using System.Collections.Generic;
using Models;
public interface IShoppingCartManager
{
void Add(string id, int productId);
void Update(string id, CartItem cartItem);
void Remove(string id, CartItem cartItem);
void Clear(string id);
... |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinterLeaf.Engine;
using WinterLeaf.Engine.Classes;
using WinterLeaf.Engine.Containers;
using WinterLeaf.Engine.Enums;
using System.ComponentModel;
using System.Threading;
using WinterLeaf.Engine.Classes.Interopt;
using... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Get a Trunk Group Instance's profile.
/// The response is either a GroupTrunk... |
// 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.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace NuGet.Serv... |
using Godot;
using System;
using Telraam_sim;
public class Finishline : Area2D
{
public override void _Ready()
{
}
public void _OnAreaEntered(Area2D area)
{
var baton = area.GetOwner<Baton>();
if (JsonLogger.GetInstance().Recording)
{
if (baton.Speed > 0)
{
JsonLogger.GetInstance().LogLap(baton.... |
using System;
using System.IO;
using System.Data;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using MailKit.Search;
using Ipfs.Http;
using Ipfs.Engine;
using Ipfs;
using NextGenSoftware.OASIS.API.Core;
using Ne... |
// Copyright (c) 2021, Adam Congdon <adam.congdon2@gmail.com>
// MIT License
using System;
using System.Data.SqlClient;
using System.Net;
using System.Security.Cryptography;
using System.Security.Principal;
using System.Text;
using System.Windows;
namespace VeeamHealthCheck.DB
{
class CDbAccessor
{
pr... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
using System;
using Sy... |
using UnityEngine.Networking;
namespace R2API.Networking.Interfaces {
public interface INetMessage : ISerializableObject {
void OnReceived();
}
public static class NetMessageExtensions {
public static void Send(this INetMessage message, NetworkDestination destination) {
if (de... |
// yuzhaohui
// 2016/8/3
using System;
using System.Net;
using System.Net.Sockets;
namespace Qunar.TC.Qmq.Client.Util
{
static class NetUtils
{
public static string LocalHost()
{
var host = Dns.GetHostEntry(Dns.GetHostName());
foreach (var ip in host.AddressList)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using UnityEngine.SceneManagement;
using System.Linq;
public class GameOverState : SceneState
{
[SerializeField]
SceneState nextState;
public override void Initialize ()
{
base.Initialize ();
UIManager.Instance.Switc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Km.Toi.Template.Builders
{
sealed class SqlDefinitionBuilder : ISqlDefinitionBuilder
{
private CompositeSqlDefinitionElement root;
public SqlDefinitionBuilder(ITemplateOptions options = ... |
namespace MemorySystemApp.Services
{
using System;
using System.Text.Json.Serialization;
public class Result
{
public string ErrorMessage { get; protected set; }
[JsonIgnore]
public static Result Success => new Result();
[JsonIgnore]
public bool IfHaveError =>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Payroll.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GET api/values
[HttpGet]
public IEnumerable<s... |
using Slipstream.Components.Internal;
using Slipstream.Components.Playback;
using Slipstream.Components.WinFormUI.Forms;
using Slipstream.Shared;
using Slipstream.Shared.Lua;
using System;
using System.Windows.Forms;
namespace Slipstream.Components.WinFormUI.Lua
{
public class WinFormUIInstanceThread : BaseInsta... |
using STBDiffChecker.Enum;
namespace STBDiffChecker.AttributeType
{
public abstract class AbstractAttribute
{
public string StbName { get; }
public Importance Importance { get; private set; }
internal AbstractAttribute(string stbName)
{
this.StbName = stbName;
... |
// *** 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... |
namespace CronGadgetry.Timers
{
using System;
using System.Threading;
using System.Threading.Tasks;
public class CronTimer : IDisposable
{
private readonly CronExpression _expression;
private readonly TimeSpan _fireOffset;
private readonly object _syncRoot = new object();
... |
using GitTools.Testing;
using GitVersion.Core.Tests.Helpers;
using NUnit.Framework;
using Shouldly;
namespace GitVersion.Core.Tests.IntegrationTests;
[TestFixture]
public class DocumentationSamples : TestBase
{
[Test]
public void GitFlowFeatureBranch()
{
using var fixture = new EmptyRepositoryFixt... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Tests
{
using System;
using System.Collections.Generic;
using System.Collections.Obje... |
/*
// <copyright>
// dotNetRDF is free and open source software licensed under the MIT License
// -------------------------------------------------------------------------
//
// Copyright (c) 2009-2021 dotNetRDF Project (http://dotnetrdf.org/)
//
// Permission is hereby granted, free of charge, to any person obtainin... |
using System;
using System.Linq;
using System.Threading.Tasks;
namespace PUBG.ApiClient.Test
{
class Program
{
static void Main(string[] args)
{
Task task = Run();
task.Wait();
}
private static async Task Run()
{
PUBGApiClient pubgAp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace GoshoSecurity.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MasterPage : ContentPage
{
public MasterPage (... |
using Microsoft.Web.Http;
using ResourcesServer.Helpers;
using ResourcesServer.Models;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
namespace ResourcesServer.Controllers.Employees
{
... |
namespace SqlNotebook {
partial class SqlTextControl {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
namespace Loretta.CodeAnalysis.Lua
{
/// <summary>
/// Applies Lua-specific modification and filtering of <see cref="Diagnostic"/>s.
/// </summary>
internal static class LuaDiagnosticFilter
{
/// <summary>
... |
// <auto-generated />
namespace Khorshid.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
public sealed partial class Work... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Hosting;
using Xunit.Abstractions;
namespace Cuemon.Extensions.Xunit.Hosting.AspNetCore
{
/// <summary>
/// Represents a base class from which all implementations of unit testing, that uses Microsoft Dependency Injection and depends ... |
using System.Reflection;
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("CompositeC1Contrib.NewRelic")]
[assembly:... |
using System.Net;
using System.Net.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
namespace NCS.CDS.Diversity.PostDiversityHttpTrigger
{
public static class PostDiversityHttpTrigger
{
[FunctionName("Post")]
public static H... |
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("XML... |
using SQLite;
namespace Jimbot.Plugins.Builtin.ReactionRole {
/// <summary>
/// There can be many with the same message ID
/// but different emote IDs
/// </summary>
public class ReactiveMessage {
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[Indexed]
pub... |
using Unity.AI.Planner;
using Unity.Collections;
using Unity.Entities;
using Unity.AI.Planner.Traits;
using Generated.AI.Planner.StateRepresentation;
using Generated.AI.Planner.StateRepresentation.FeedEaterProblemDefinition;
namespace Generated.AI.Planner.Plans.FeedEaterProblemDefinition
{
public struct FoodEaterT... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
namespace T4WFI.App
{
using System.Collections.Generic;
/// <summary>
/// Sample container implementation for T4WebformsInjection for IOC framework that does not make use of scoped lifetimes.
/// </summary>
/// <remarks>
/// This sample needs to be customized to make use of your IOC implementa... |
using Newtonsoft.Json;
namespace Slack.NetStandard.WebApi.Workflow
{
internal class StepFailedRequest
{
[JsonProperty("workflow_step_execute_id")]
public string WorkflowStepExecuteId { get; set; }
[JsonProperty("error",NullValueHandling = NullValueHandling.Ignore)]
public Erro... |
using GitClientVS.Contracts.Models;
using GitClientVS.Contracts.Models.GitClientModels;
using System.Collections.Generic;
namespace GitClientVS.Contracts.Interfaces.Services
{
public interface IGitService
{
GitRemoteRepository GetActiveRepository();
void CloneRepository(string cloneUrl, string... |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Threading.Tasks;
using Common.Log;
using Core;
using Core.Contracts;
using Core.Settings;
using Nethereum.ABI.FunctionEncoding.Attributes;
using Nethereum.Hex.HexTypes;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.Web3;
namespace Lke... |
namespace CompanyName.MyMeetings.Modules.Meetings.Infrastructure.Configuration.Processing
{
public interface IRecurringCommand
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Built.Mongo.Repository
{
//https://github.com/mongodb/mongo-csharp-driver
//https://github.com/youngdak/MongoUnitOfWork
//https://github.com/Chinchilla-Software-Com/CQRS
//https://github.com/SkyChenSky/Sikiro.Nosql.Mongo
... |
////////////////////////////////////////////////////////////////////////////////
//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... |
/* MIT License
Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net)
All rights reserved.
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 li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Disruptor;
using Disruptor.Dsl;
namespace PipelineImplementations.Part3.Disruptor
{
public interface IPipeline<TOut>
{
... |
using System;
using System.Threading.Tasks;
using Xunit;
using Mobius.Library;
using Stellar = stellar_dotnet_sdk;
using StellarResponses = stellar_dotnet_sdk.responses;
namespace Mobius.Test.UtilsTests
{
public class KeyPairFixture
{
public KeyPairFixture()
{
Stellar.Network.UseTes... |
using AngouriMath;
using Xunit;
using static AngouriMath.Entity;
using static AngouriMath.Entity.Set;
namespace UnitTests.Core.Sets
{
public sealed class CSetAndCSet
{
private readonly Set A = new ConditionalSet("x", "x > 0");
private readonly Set A1 = new ConditionalSet("y", "y > 0");
... |
using System.Collections.Generic;
namespace DesktopSearch.Core.Extractors.Xaml
{
public class TypeInfo
{
private readonly string _typeName;
private readonly string _assemblyName;
private List<FileReference> _fileReferences;
public TypeInfo(string typeName, string assemblyName)... |
using Aspose.Imaging;
using Aspose.Imaging.Examples.CSharp;
using Aspose.Imaging.FileFormats.Cdr;
using Aspose.Imaging.FileFormats.Cmx;
using Aspose.Imaging.FileFormats.Emf;
using Aspose.Imaging.FileFormats.OpenDocument;
using Aspose.Imaging.FileFormats.Svg;
using Aspose.Imaging.FileFormats.Wmf;
using Aspose.Imaging.I... |
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
namespace EasyAbp.Abp.DataDictionary.EntityFrameworkCore
{
[ConnectionStringName(DataDictionaryDbProperties.ConnectionStringName)]
public interface IDataDictionaryDbContext : IEfCoreDbContext
{
DbSet<DataD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using ClassesTimetable.Core.Entities;
using ClassesTimetable.Infrastructure.Data;
namespace ClassesTimetable.W... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace NetFabric.Hyperlinq
{
public static partial class Wrap
{
public static ReadOnlyListWrapper<T> AsReadOnlyList<T>(T[] source)
=> source is null
? throw new ArgumentNullException(nameof(source))... |
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;
using Mono.Linker.Tests.Cases.LinkXml.Dependencies;
namespace Mono.Linker.Tests.Cases.LinkXml
{
[KeepTypeForwarderOnlyAssemblies ("false")]
[SetupCompileBefore ("Library.dll", new[] { "Dependenc... |
@{
Layout = null;
// "➞", "✓", "✕"
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>验证码</title>
@Styles.Render("~/Content/css")
</head>
<body>
<div>
<div class="sc-captcha">
<div class="sc_net_panel">
<div class=... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace KubeManage.Entity.Docker
{
public class DockerImage
{
public int Id { get; set; }
public string Image { get; set; }
public string Version { get; set; }
publ... |
// this code is copied from this repository:
// https://github.com/MachineCognitis/C.math.NET/
// A big thank you to Robert Baron for open sourci
using System;
// Declare assembly as CLS compliant.
[assembly: System.CLSCompliant(true)]
namespace MachineCognitus
{
/// <summary>
/// Implements several <a href... |
namespace DbSqlHelper
{
public static class DbSqlHelperSetting
{
public static int DefaultCommandTimeout = 60;
}
} |
using UnityEngine;
namespace Core
{
public class View : MonoBehaviour
{
}
} |
// 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.IO;
using System.Linq;
using System.Net.Test.Common;
using System.Security.Cryptography.X509Certificates;
using System.Security.Authent... |
using UnityEngine;
using System.Collections;
using DG.Tweening;
public class BasicEnemy : MonoBehaviour {
private MainController mainController;
[SerializeField]
private float timeToChange = 4f;
[SerializeField]
private GameObject explosion;
[SerializeField]
private GameObject permanence;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CrackingTheCodingInterview6thEd.Ch16_Moderate
{
public class P16_2_WordFrequencies
{
public static int FindWordCount(string[] book, string wordToFind)
{
int... |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using WindowsDesktop;
using Desktopswitch;
using Grpc.Core;
using NLog;
namespace VirtualDesktopSwitchServer
{
public class Program
{
private static readonly Logger Logger = LogManager.GetCurrentCl... |
// 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;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nucleus.UI
{
/// <summary>
/// Interface to mark objects which can be hosted within an AutoUI panel for modification
/// </summary>
public interface IAutoUIHostable
{
}... |
// Copyright 2020 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 © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/codecapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropServi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.