text stringlengths 1 932k |
|---|
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d10.h(1214,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("edad8d19-8a35-4d6d-8566-2ea276cde161"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface ID3D10BlendState : ID3D10Device... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class StatsPlayer : MonoBehaviour {
public static int Money;
public int startMoney = 400;
public static int Lives;
public int startLives = 5;
public static int Rounds;
public static int UnitsAlive;
public static List... |
using System;
namespace NetCore6PreviewConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} |
using System;
using System.Collections.Generic;
namespace Opcomunity.Data.Entities
{
public partial class TB_TopicTag
{
public long TopicId { get; set; }
public int TagId { get; set; }
public int SortId { get; set; }
public bool IsAvailable { get; set; }
public System.Da... |
using System;
using Caliburn.Micro;
namespace Gemini.Framework.Results
{
public abstract class OpenResultBase<TTarget> : IOpenResult<TTarget>
{
protected Action<TTarget> _setData;
protected Action<TTarget> _onConfigure;
protected Action<TTarget> _onShutDown;
Action<TTarget> IOpenResult<TTarget>.OnConfigure... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
... |
using UnityEngine;
namespace ToolkitEditor.Extensions
{
public static class RectExtensions
{
public static Rect WithX(this Rect rect, float x)
{
rect.x = x;
return rect;
}
public static Rect WithY(this Rect rect, float y)
{
r... |
namespace _01.Vehicles
{
public class Truck : Vehicle
{
public Truck(double fuelQuantity, double fuelConumption)
: base(fuelQuantity, fuelConumption)
{
}
public override double FuelConsumption
{
get => base.FuelConsumption;
set { base.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using System.Threading;
namespace Riken
{
class KinectServer
{
static void PostureServer(string[] args)
{
Microsoft.Kinect.Body body = null;
... |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class MenuScenario_E3EndMenu : MenuScenario_BaseMenu
{
public MenuScenario_E3EndMenu(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { }
}
} |
namespace Sledge.Formats.Bsp.Objects
{
public enum PlaneType : int
{
X = 0,
Y = 1,
Z = 2,
AnyX = 3,
AnyY = 4,
AnyZ = 5,
}
} |
using System;
using Catalog.API.Entities;
namespace Catalog.API.Repositories
{
public interface IProductRepository
{
Task<IEnumerable<Product>> GetProducts();
Task<Product> GetProduct(string id);
Task<IEnumerable<Product>> GetProductByName(string name);
Task<IEnumerable<Product>> GetProductByCategory(strin... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Numerics;
using Arcus.Math;
using Arcus.Utilities;
using JetBrains.Annotations;
using Moq;
using Xunit;
using Xunit.Abstractions;
namespace Arcus.Tests
{
[PublicAPI]... |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... |
/* ---------------------------------------------------------------------------------------------------------------------------------------
* (C) 2019, Dr Warren Creemers.
* This file is subject to the terms and conditions defined in the included file 'LICENSE.txt'
* ---------------------------------------------... |
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("BookStore.Web.Api")]
[assembly: AssemblyD... |
using System.Collections;
using System.Collections.Generic;
using theGame;
using UnityEngine;
namespace Game
{
public class InGameProgress
{
public int MaxHearts;
public int CurHearts;
public int MaxQuestion;
public int CurQuestion;
public int Scores;
priva... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ApprovalTests.Events;
using ApprovalTests.Namers;
using ApprovalUtilities.Reflection;
using ApprovalUtilities.Utilities;
namespace ApprovalTests.WinForms
{
public class WinFormsApprovals
{
... |
//------------------------------------------------------------------------------
// <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) 2015-2021 The Neo Project.
//
// The neo is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and bi... |
// 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.Dynamic;
using System.Linq;
using System.Linq.Expressions;
using System.Management.Automation.Language;
namespace System.Management.Au... |
//------------------------------------------------------------------------------
// <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 Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using System.Collections.Generic;
namespace DevBlog.Api.Helpers
{
public static class StartUpHelper
{
public static void AddSwagger(this IServiceCollection services)
{
services... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wexflow.Core;
using System.Xml.Linq;
namespace Wexflow.Tasks.ListEntities
{
public class ListEntities:Task
{
public ListEntities(XElement xe, Workflow wf)
: base(xe, wf)
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeoLocationClustering
{
public class ClusterRoot<T> : ClusterHierarchy<T>
{
public ClusterRoot(long minZoom, long clusterSize, double left, double bottom) :
base(nu... |
using Core.Attributes;
namespace JobInTown.Models.Enums
{
public enum CategoryType
{
[DisplayName("Enum_CategoryType_Others")]
Others,
[DisplayName("Enum_CategoryType_AdministrationSecretariat")]
AdministrationSecretariat,
[DisplayName("Enum_CategoryType_ArtDesign")]
... |
using System;
using System.Runtime.InteropServices;
namespace Unity.Media
{
/// <summary>
/// A class that handles the allocation and disposal of an object. All the different encoders use it.
/// </summary>
/// <typeparam name="T">The type of object that the handle refers to.</typeparam>
public cla... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SuctionPoint : MonoBehaviour
{
// The object to be pulled into the point.
[SerializeField]
private Rigidbody2D bodyToPull;
[SerializeField]
private float influenceRadius;
[SerializeField]
private fl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TirednessSystem_AI : MonoBehaviour
{
public static int Player1Health;
public static int Player2Health;
public Slider Player1HealthSlider;
public Slider Player2HealthSlider;
void Start... |
using System;
using HairSalon.Models;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
namespace HairSalon.Controllers
{
public class ClientsController : Controller
{
private readonly HairSalonCo... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using TronDotNet.ABI.Decoders;
using TronDotNet.ABI.Encoders;
namespace TronDotNet.ABI
{
public class DynamicArrayType : ArrayType
{
public DynamicArrayType(string name) : base(name)
{
Decoder = new DynamicArrayTypeDecoder(ElementType);
Encoder = new DynamicArrayTypeEnco... |
/*
Copyright 2015-2020 Marco De Salvo
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.Generic;
using System.Linq;
public class StartUp
{
private static Dictionary<string, Dictionary<string, long>> bag;
public static void Main()
{
bag = new Dictionary<string, Dictionary<string, long>>()
{
["Gold"] = new Dictionary<string, l... |
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 TeoremaDeBayes
{
public partial class Form1 : Form
{
public Form1()
{
... |
// <auto-generated />
using System;
using ManageCloudDevices.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConver... |
@model AlunoCurso.Models.AlunoModel
@{
ViewBag.Title = "Detalhes do Aluno";
}
<br />
<div class="text-xs font-weight-bold text-dark text-uppercase mb-1">
Detalhes do Aluno
</div>
<hr />
@using (Html.BeginForm())
{
<div class="content">
<div class="container-fluid">
<div class="row"... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tree
{
public class Node
{
public int Value { get; set; }
public Node LeftChild { get; set; }
public Node RightChild { get; set; }
public Node() { }
public Node(int value)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Clock : MonoBehaviour
{
public GameObject minuteHand;
public GameObject hourHand;
float rotateX = 0f;
float rotateMin = 0f;
// Start is called before the first frame update
void Start()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace Seguranca_WebApi.ForSwagger
{
public class SwaggerFilter : IOperationFilter
{
public void Apply(Operation operat... |
@model WalkingTec.Mvvm.Mvc.Admin.ViewModels.FrameworkRoleVMs.FrameworkRoleVM
<wt:form vm="@Model">
<wt:textbox field="Entity.RoleCode" />
<wt:textbox field="Entity.RoleName" />
<wt:textarea field="Entity.RoleRemark" />
<wt:hidden field="Entity.ID" />
<wt:row align=" AlignEnum.Right">
<wt:s... |
using System.Collections.Generic;
using System.Windows.Forms;
using bv.common.Enums;
using bv.model.Model.Core;
using bv.winclient.ActionPanel;
using bv.winclient.BasePanel;
namespace bv.winclient.Layout
{
public interface ILayout
{
void Init(IBasePanel basePanel);
void AddControlToMainContai... |
#region Copyright & License
// Copyright © 2012 - 2020 François Chabot
//
// 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 r... |
/*
* 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... |
namespace SchoolSystem.CLI.Enums
{
public enum Grade
{
First = 1,
Second = 2,
Third = 3,
Fourth = 4,
Fifth = 5,
Sixth = 6,
Seventh = 7,
Eighth = 8,
Ninth = 9,
Tenth = 10,
Eleventh = 11,
Twelfth = 12
}
} |
using System;
using System.Text;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using Abp.AspNetCore;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.SignalR;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.Configuration;
... |
using Albatross.Reflection;
using Albatross.Serialization;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using Xunit;
namespace Albatross.Test.Serialization {
public class TestDynamicConversion{
[Fact]
public void TestNormal() {
string json = GetType().GetEmbeddedF... |
// *** 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... |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
namespace rsc
{
class Program
{
static void Main(string[] args)
... |
//---------------------------------------------------------------------
// <copyright file="ODataUtilsTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------------------... |
namespace Apex.ConnectApi
{
using ApexSharp;
using ApexSharp.ApexAttributes;
using ApexSharp.Implementation;
using global::Apex.System;
/// <summary>
///
/// </summary>
public class ContentHubGroupType
{
// infrastructure
public ContentHubGroupType(dynamic self)
... |
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace WeifenLuo.WinFormsUI.Docking
{
/// <summary>
/// Dock window of Visual Studio 2012 Light theme.
/// </summary>
[ToolboxItem(false)]
internal class VS2012LightDockWindow : DockWin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace NationalParkDirectoryApi.Controllers
{
[Route("api/1.0/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
// GET api/values
[HttpGet]... |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26.Maps
{
using V26;
/// <summary>
/// OM6 (SegmentMap) - Observations that are Ca... |
using CSMath;
using System.Collections.Generic;
namespace ACadSharp.Entities
{
//TODO: FIX the hatch mess!!!!
public class HatchPattern
{
public readonly static HatchPattern Solid = new HatchPattern("SOLID");
public class Line
{
public double Angle { get; internal set; }
public XY BasePoint { get; int... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.SqlServer;
using Elsa;
//using Elsa.Persistence.EntityFramework.SqlServer;
using Elsa.Persistence.EntityFramework.Core.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorPages... |
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("Te... |
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using NUnit.Framework;
using SharpBucket.V2;
using SharpBucket.V2.EndPoints;
using SharpBucket.V2.Pocos;
using SharpBucketTests.V2.Pocos;
using Shouldly;
namespace SharpBucketTests.V2.EndPoints
{
[TestFixture]
internal class Pull... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.ObjectModel;
namespace System.Web.Http.Description
{
/// <summary>
/// Defines the interface for getting a collection of <see cref="ApiDescription"/>.
/// </s... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using PlayTennis.Data;
namespace PlayT... |
namespace Stravaig.Gedcom.Model
{
public enum GedcomSex
{
NotKnown = 0,
Male,
Female,
Undetermined
}
} |
//* Bobo Browse Engine - High performance faceted/parametric search implementation
//* that handles various types of semi-structured data. Originally written in Java.
//*
//* Ported and adapted for C# by Shad Storhaug, Alexey Shcherbachev, and zhengchun.
//*
//* Copyright (C) 2005-2015 John Wang
//*
//* Licensed un... |
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using SFA.DAS.ProviderRegistrations.Data;
using SFA.DAS.ProviderRegistrations.Models;
namespace SFA.DAS.ProviderRegistrations.Application.Commands.AddedPayeSchemeCommand
{
public class AddedPayeS... |
namespace Anf
{
#if INERNAL_INFO
internal
#else
public
#endif
class ComicInfo
{
public string ComicUrl { get; set; }
public string Name { get; set; }
public string Descript { get; set; }
public string ImageUrl { get; set; }
}
#if INERNAL_INFO
internal
#els... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions... |
using Caldast.OODesignProblems.TicTacToe.Model.BoardMembers;
using System;
namespace Caldast.OODesignProblems.TicTacToe.Model.Move
{
/// <summary>
/// Base class for Move
/// </summary>
public abstract class Move : IMove
{
protected Board board;
protected Move(Board b)
{
... |
// <auto-generated />
using System;
using Library.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Library.Migrations
{
[DbContext(typeof(LibraryCo... |
using System.Text;
namespace WOD.Game.Server.Service.LanguageService
{
public class TranslatorMonCalamarian : ITranslator
{
public string Translate(string message)
{
var sb = new StringBuilder();
foreach (var ch in message)
{
switch (ch)
... |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
using RazorPage... |
namespace Reunion.Common.Model.States
{
public enum KnockStatusEnum
{
/// <summary>
/// Default
/// </summary>
Idle = 0,
/// <summary>
/// organizer has been notified recently, but organizer hasn't logged in since that time any more
/// </summary>
WaitForLogin = 1,
/// <summary>
///
/// </summa... |
/*
* 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... |
// ------------------------------------------------------------------------------------------------- -------------------
// <copyright file="AssemblyHelper.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ------------------------------... |
using System;
using ApprovalUtilities.Persistence;
using ApprovalUtilities.SimpleLogger.Writers;
namespace ApprovalUtilities.SimpleLogger
{
public static class Logger
{
private static LoggerInstance log = new LoggerInstance();
public static IAppendable Writer
{
get => log.W... |
using System;
namespace ConditionalOps
{
class Program
{
static void Main(string[] args)
{
int theVal = 60;
// TODO: The switch statement
switch (theVal)
{
case 50:
Console.WriteLine("The value is 50.");
... |
namespace MoonGravity
{
using System;
class MoonGravity
{
static void Main()
{
double earthW = double.Parse(Console.ReadLine());
double moonW = earthW * 0.17;
Console.WriteLine("{0:F3}", moonW);
}
}
} |
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Horizon.Payment.Alipay.Domain;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// KoubeiServindustryPortfolioShopBatchqueryResponse.
/// </summary>
public class KoubeiServindustryPortfolioShopBatchqueryResponse : ... |
using System;
using System.Xml.Serialization;
namespace Gir
{
public partial class Field
{
[XmlAttribute("bits")]
public int Bits;
[XmlAttribute("introspectable")]
public bool Introspectable;
[XmlAttribute("name")]
public string Name;
[XmlAttribute("private")]
public bool Private;
[XmlAttribut... |
using System;
using JetBrains.Annotations;
namespace Plethora.Mvvm.Model
{
/// <summary>
/// An <see cref="Attribute"/> which denotes a static member from which to retrieve
/// the default value of a <see cref="ModelBase"/> property.
/// </summary>
/// <remarks>
/// <para>
/// The static m... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using ERA.PermanentContractSalaryCalculation.Application.Models;
using ERA.PermanentContractSalaryCalculation.Application.Process.EmployeeSalaryCalculation;
using ERA.PermanentContractSalaryCalculation.Application.Process.EmployerPaymentCostCalculation;
namespace ERA.PermanentContractSalaryCalculation.Application.Pro... |
using GameObjects;
using GameObjects.Conditions;
using System;
using System.Runtime.Serialization;namespace GameObjects.Conditions.ConditionKindPack
{
[DataContract]public class ConditionKind3051 : ConditionKind
{
public override bool CheckConditionKind(Faction faction)
{
return... |
using UnityEngine;
using UnityEngine.Assertions;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
namespace SocketTest
{
/// <summary>
/// .
/// </summary>
public class SocketSampleTCP : MonoBehaviour
{
[SerializeField]
private string address;
[SerializeField]
private int po... |
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Autodash.Core.TestSuite>
@{
Layout = "";
}
<table class="table table-condensed" data-bind="with: testSelection">
<thead>
<tr>
<th></th>
<th>Test Name</th>
</tr>
</thead>
<tbody data-bind="foreach: tests">
... |
#region Header
// Copyright (c) 2012 Diego Frata
//
// 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, modif/ merg... |
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2019 Narvalo.Org. All rights reserved.
namespace Abc
{
using System;
using System.Collections.Generic;
using Anexn = System.ArgumentNullException;
public partial class AssertEx
{
public static void ThrowsOnNext<T>(IEnumerable<T> s... |
//----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may o... |
namespace Corvus.Json.SchemaGenerator
{
/// <summary>
/// The various schema types that are avaiable.
/// </summary>
public enum SchemaVariant
{
Draft201909,
Draft202012
}
} |
using System;
using syp.biz.SockJS.NET.Common.Extensions;
namespace syp.biz.SockJS.NET.Client.Event
{
public class Event
{
public const int CAPTURING_PHASE = 1;
public const int AT_TARGET = 2;
public const int BUBBLING_PHASE = 3;
public Event(string eventType)
{
... |
using Xunit;
namespace ChatSharp.Tests
{
public class IrcUserTests
{
[Fact]
public void GetUserModes_NotNull_FiveModes()
{
var user = new IrcUser("~&@%+aji", "user");
var client = new IrcClient("irc.address", user);
var userModes = client.ServerInfo... |
namespace Bodoconsult.Core.ExpressionBuilder.WinForms.Builder.Generic
{
public class FilterStatementConnection<TClass> : IFilterStatementConnection<TClass> where TClass : class
{
readonly IFilter<TClass> _filter;
readonly IFilterStatement _statement;
public FilterStatementConnection(IFilter<TClass> filter, ... |
// 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.... |
using System;
namespace Serilog.Sinks.Spectre.Extensions
{
public static class LinqExtensions
{
public static T Exec<T>(this T t, Func<T, T> predicate)
{
return predicate(t);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CommonCore.Math
{
[Serializable]
public struct Direction
{
#region Fields
private static Random _random;
private readonly Vector2I _vector;
#endregion
#region Constructors
static Direction()
{
_random = new Random();
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace FoodDemo.Data.Migrations
{
public partial class initNine : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
... |
@using System.Diagnostics
@using System.Reflection
@using ICSharpCode.CodeConverter
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@Page.Title - Roslyn Code Converter</title>
@RenderSection("head", required: false)
... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using GameFramework.FileSystem;
usi... |
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 Application.Data;
using Application.Models;
using Microsoft.AspNetCore.Authorization;
using System.Securit... |
using System;
using System.Collections.Generic;
using HuaweiCloud.SDK.Core;
using HuaweiCloud.SDK.Core.Auth;
using HuaweiCloud.SDK.IoTDA.V5;
using HuaweiCloud.SDK.IoTDA.V5.Model;
using Newtonsoft.Json;
namespace Examples.IoTDA.V5
{
static class ProductManagement
{
static void Main1(string[] args)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.