text stringlengths 1 932k |
|---|
// 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 NuGet.Frameworks;
namespace NuGet.ProjectModel.Test.Builders
{
internal class PackagesLockFil... |
using Android.Content;
using Microsoft.Maui.Graphics.Native;
namespace Microsoft.Maui.Platform
{
public class MauiShapeView : NativeGraphicsView
{
public MauiShapeView(Context? context) : base(context)
{
}
}
} |
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
namespace Gouter.Extensions;
/// <summary>
/// WPFに関する拡張メソッド
/// </summary>
internal static class WpfExtensions
{
/// <summary>
/// 一致する型の親要素を探索する。
/// </summary>
/// <typeparam name="T">探索する型</typeparam>
/// <par... |
namespace Microsoft.NetConf2021.Maui.Pages;
public static class PagesExtensions
{
public static MauiAppBuilder ConfigurePages(this MauiAppBuilder builder)
{
// main tabs of the app
builder.Services.AddSingleton<DiscoverPage>();
builder.Services.AddSingleton<SubscriptionsPage>();
... |
//------------------------------------------------------------------------------
// <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>
//--... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by avrogen.exe, version 0.9.0.0
// Changes to this file may cause incorrect behavior and will be lost if code
// is regenerated
// </auto-generated>
// --------------------------------------------... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using Android.Views;
using Android.Widget;
using MvvmCross.Binding;
using MvvmCross.Platforms.Androi... |
using System;
using System.Linq.Expressions;
using Blauhaus.Common.Utils.Extensions;
using Blauhaus.Forms.Controls.Core.Extensions;
using Xamarin.Forms;
namespace Blauhaus.Forms.Controls.Core.Controls.LabelControls._Base
{
public abstract class BaseLabelControl<TControl> : Label where TControl : BaseLabelControl<... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Shop.Web.Models;
namespace Shop.Web
{
public static class SessionExtensions
{
private const string key = "cart";
public st... |
using MediatR;
using MediatR.CommandQuery.Mvc;
using Tracker.WebService.Domain.Models;
namespace Tracker.WebService.Controllers
{
public class TaskController : EntityCommandControllerBase<string, TaskReadModel, TaskReadModel, TaskCreateModel, TaskUpdateModel>
{
public TaskController(IMediator mediato... |
using System.Text.Json.Serialization;
namespace JackIsBack
{
public class Url
{
[JsonPropertyName("start")]
public int Start { get; set; }
[JsonPropertyName("end")]
public int End { get; set; }
[JsonPropertyName("url")]
public string URL { get; set; }
... |
using System;
namespace tud.mci.tangram.TangramLector
{
/// <summary>
/// Helper Class for loading values from the app configuration
/// </summary>
public static class ConfigurationLoader
{
/// <summary>
/// Gets the global APP configuration (app.config) content.
/// </summ... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
using System.Colle... |
@using webappsql
@namespace webappsql.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System;
namespace uri1004
{
internal static class Program
{
private static void Main()
{
int x = int.Parse(Console.ReadLine());
int y = int.Parse(Console.ReadLine());
Console.WriteLine($"PROD = {x * y}");
}
}
} |
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("AWSSDK.AWSHealth")]
[assembly: AssemblyDes... |
// License text here
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZigBeeNet.ZCL.Protocol;
using ZigBeeNet.ZCL.Field;
using ZigBeeNet.ZCL.Clusters.General;
/// <summary>
/// Read Attributes Response value object class.
///
/// Cluster: General. Command is sentTO the se... |
//Generated by LateBindingApi.CodeGenerator
using System;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.InteropServices;
using LateBindingApi.Core;
namespace LateBindingApi.Office
{
[SupportByLibrary("OF12","OF14")]
public class ICustomTaskPaneConsumer : COMObject
{
#region Constructio... |
// (c) 2005-2018 GestorFincas Baltasar MIT License <baltasarq@gmail.com>
namespace EstateManager.Core {
using System;
using System.Collections.Generic;
public class SearchExecution {
public SearchExecution(Area[] areas, Search search,
Action<string, int, int> processStart,
... |
using System.Net.Mail;
namespace After.UserMgmt.Services;
public class EmailService
{
public void SendEmail()
{
SmtpClient client = new SmtpClient("smtp.myhost.com");
client.Send(new MailMessage());
}
} |
using DN.WebApi.Application.Common.Validators;
using DN.WebApi.Shared.DTOs.Storage;
using FluentValidation;
namespace DN.WebApi.Application.Storage;
public class FileUploadRequestValidator : CustomValidator<FileUploadRequest>
{
public FileUploadRequestValidator()
{
RuleFor(p => p.Name).MaximumLength(7... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 该接口用于进行位置同步。该接口的实例作为Unit的成员变量存储于Unit中。
/// SyncTransform和SyncAcceleration方法会在客户端接收到服务器发来的同步协议并解析后,由解析协议的方法调用。
/// Init方法用于初始化,传入并记录接受同步的单位。
/// Update方法会在Unit的Update或FixedUpdate中调用。Update方法会根据SyncTransform和SyncAcceleratio... |
namespace AspAbpSPAMay.Sessions.Dto
{
public class GetCurrentLoginInformationsOutput
{
public ApplicationInfoDto Application { get; set; }
public UserLoginInfoDto User { get; set; }
public TenantLoginInfoDto Tenant { get; set; }
}
} |
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using TeamLoadManagement.Api.Requests;
using TeamLoadManagement.Services.Abstractions;
namespace TeamLoadManagement.Api.Controllers
{
[Authorize(Policy = "ApiUser")]
[Route("api/[controller... |
using Microsoft.Xna.Framework;
namespace WpfTest.Views
{
/// <summary>
/// Interaction logic for SimpleWindow.xaml
/// </summary>
public partial class SimpleWindow
{
public SimpleWindow(WpfGame scene, string title)
{
InitializeComponent();
Title = title;
... |
using Fub.Creation;
using Fub.Tests.Models;
using Fub.ValueProvisioning;
using Moq;
using System;
using System.Linq.Expressions;
using Xunit;
namespace Fub.Tests.Core
{
public class UserErrorTests
{
private class HasMethod
{
public void MyMethod()
{
}
}
[Fact]
public void Create_WithNonProperty... |
using Birthdays.Services;
using Birthdays.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace Birthdays.Views {
public partial class BirthdaysPage : ContentPage {
readonly BirthdaysViewModel birthdaysViewModel;
public BirthdaysPage(BirthdaysViewModel birthdaysViewModel) {
... |
@model Xms.Web.Customize.Models.CreateSerialNumberModel
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<a data-toggle="collapse"
href="#collapseTwo">
<strong>@app.PrivilegeTree?.LastOrDefault().DisplayName</strong>
... |
namespace ColorPalette
{
partial class FormMain
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param name="disposing">マネー... |
using Sandbox;
[Library("weapon_ak47", Title = "AK-47", Spawnable = true, Group = "Weapons" )]
public class AK47 : Weapon
{
public override float Damage => 25;
public override bool IsAutomatic => true;
public override int RPM => 600;
public override float ReloadTime => 3f;
public override float Spread => 0.15f;... |
using FileExplorer.Defines;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileExplorer.Script
{
public static partial class ExtensionMethods
{
public static IProgress<TransferProgress> GetProgress(this ParameterDic pd)
... |
using System.Reflection;
namespace Ariadna.Undo;
/// <summary>
/// This is a sample action that can change any property on any object
/// It can also undo what it did
/// </summary>
public class SetPropertyAction : AbstractAction
{
public SetPropertyAction(object parentObject, string propertyName, object value)
... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedType.Global
/* ISiberianC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataGridView.Model
{
public class Marca
{
public string Nome { get; set; }
public bool Ativo { get; set; } = true;
public int UsuInc { get; set; }
publi... |
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kooboo.Dom.CSS.rawmodel
{
/// <summary>
/// An at-rule has a name, a prelude consisting of a... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using ProtoCore.DSASM.Mirror;
using ProtoCore.Lang;
using ProtoTestFx.TD;
namespace ProtoTest.TD.Associative
{
class ReplicationGuide : ProtoTestBase
{
[Test]
[Category("Replication")]
public void T0001_Replication_Gu... |
using FileSort.Core;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace FileSort.Core
{
public class FileLineReaderWriter : IChunkReaderWriter<FileLine>
{
private int _streamBuffer;
public FileLineReaderWriter(int streamBuffer)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JsOS.APP.Model
{
public class AppPermissionRequest
{
public string AppName { get; set; } = "APP NAME";
public string Token { get; set; } = "APP NAME";
public List<string> Needs { get; set; } = new List<strin... |
using System;
using ZKWeb.Plugins.Common.Base.src.Domain.Repositories.Bases;
using ZKWeb.Plugins.Finance.Payment.src.Domain.Entities;
using ZKWebStandard.Ioc;
namespace ZKWeb.Plugins.Finance.Payment.src.Domain.Repositories {
/// <summary>
/// 支付交易的仓储
/// </summary>
[ExportMany]
public class PaymentTransactionRep... |
namespace SchedlrService {
partial class SchedlrService {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.PlasticSCM.Runners
{
internal abstract class FormattableRunner<TSettings> : PlasticSCMTool<TSettings> where TSettings : PlasticSCMSettings
... |
// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.Sockets.IrDAListener
//
// Copyright (c) 2003-2020 In The Hand Ltd, All rights reserved.
// This source code is licensed under the MIT License
using System;
using System.Net;
using System.Net.Sockets;
namespace InTheHand.Net.Sockets
{
/// <summar... |
/*
* 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 UnityEngine;
using MLAgentsExamples;
public class FoodCollectorArea : Area
{
public GameObject food;
public GameObject badFood;
public int numFood;
public int numBadFood;
public bool respawnFood;
public float range;
void CreateFood(int num, GameObject type)
{
for (int i =... |
//------------------------------------------------------------------------------
// <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.Text;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows;
using System.Globalization;
namespace Printing
{
public class HeaderedFlowDocumentPaginator : DocumentPaginator
{
private DocumentPaginator flowDocumentPa... |
namespace ResXManager.View.ColumnHeaders
{
using System.Windows.Controls;
public class ColumnHeader : ContentControl, IColumnHeader
{
public ColumnHeader(object? content, ColumnType columnType)
{
Content = content;
ColumnType = columnType;
Focusable = fa... |
/*
* 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 ... |
@model IEnumerable<MvcModel.Models.Article>
@{
//ViewBag.Title = "Sort";
}
<h2>Sort</h2>
<table class="table">
<tr>
<th>
@Html.ActionLink(Html.DisplayNameFor(model => model.Title).ToString(), "Sort", new { sort = ViewBag.Title })
</th>
<th>
@Html.ActionLink(Htm... |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 1.1 $</version>
// </file>
using System;
using System.Drawing;
using System.Diagnostics;
namespace ICSharpCode.TextEdi... |
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayUserCertdocUrlQueryResponse.
/// </summary>
public class AlipayUserCertdocUrlQueryResponse : AlipayResponse
{
/// <summary>
/// 链接
/// </summary>
[JsonPropertyN... |
using System.IO;
using System.Reflection;
using System.Xml;
using FluentAssertions;
using Unicorn.Roles.Model;
using Unicorn.Roles.RolePredicates;
using Xunit;
namespace Unicorn.Roles.Tests.RolePredicates
{
public class ConfigurationRolePredicateTests
{
[Theory]
// Domain tests
[InlineData(@"allfather\Foo", t... |
/*
* Copyright 1999-2012 Alibaba Group.
*
* 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 Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Adds a specified <see cref="AddClassAction.ClassName"/> to the <see cref="IStyledElement.Classes"/> collection when invoked.
/// </summary>
public class AddClassAction : AvaloniaObject, IAction
{
/// <summary>
... |
using System;
using System.Diagnostics;
using System.Threading;
namespace LoggerLibrary
{
public struct LocklessSetOnlyFlag
{
public readonly bool IsSet
{
get
{
int val = _value;
return val == Set;
}
}
public ... |
@model AllMessagesQueryModel
@{
ViewBag.Title = "Contacts Administration";
}
<h3 class="text-center">
<span class="display-4">All Messages - admin panel</span>
</h3>
<hr />
<div class="mb-5"></div>
<form method="get">
<div class="row">
<div class="form-group col-md-4">
<div class="... |
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web.Mvc;
using System.Web.Routing;
using Orchard.ContentManagement;
using Orchard.Core.Settings.Models;
using Orchard.DisplayManagement;
using Orchard.Localization;
using Orchard.Mvc;
using Orchard.Security;
using Or... |
namespace Gu.Units.Generator.Tests.Descriptors
{
using NUnit.Framework;
// ⋅⁺⁻⁰¹²³⁴⁵⁶⁷⁸⁹
public static class UnitPartsExtTests
{
[TestCase(1, "m")]
[TestCase(2, "m²")]
[TestCase(-1, "m⁻¹")]
public static void MetresToUnitString(int power, string expected)
{
... |
// <auto-generated>
// Code generated by https://github.com/kubernetes-client/csharp/tree/master/gen/KubernetesGenerator
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using Sys... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
#if !DISABLE_PLAYFABCLIENT_API
using PlayFab.ClientModels;
#endif
namespace PlayFab.UUnit
{
public class TestTitleData
{
public string titleId;
#if ENABLE_PLAYFABSERVER_API || ENABLE... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panosen.CodeDom.Java
{
/// <summary>
/// StepBuilder
/// </summary>
public abstract class StepBuilder : StepBuilderOrCollection
{
}
} |
namespace MassTransit.ActiveMqTransport.Configuration
{
using System.Collections.Generic;
using System.Linq;
using MassTransit.Configuration;
using Topology;
public class ActiveMqTopologyConfiguration :
IActiveMqTopologyConfiguration
{
readonly IActiveMqConsumeTopologyConfigur... |
using System;
using System.IO;
using System.Runtime.CompilerServices;
class Program
{
[MethodImpl(MethodImplOptions.NoInlining|MethodImplOptions.NoOptimization)]
public static void Main(string[] args)
{
Foo foo = new Foo();
try
{
Outer(); /* seq */
}... |
/*
* 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... |
//
// MonoDocDocumentationProvider.cs
//
// Author:
// Mike Krüger <mkrueger@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to ... |
// 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 StarkPlatform.Compiler.Stark.Symbols;
using StarkPlatform.Compiler.Stark.Syntax;
using StarkPlatform.Compiler.Text;
namespace StarkPlatform.Compiler.S... |
namespace CovidApp
{
partial class ChoseTheUser
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则... |
using UnityEngine;
public class Shake : MonoBehaviour
{
[SerializeField] private float m_Amplitude;
[SerializeField] private float m_LerpSpeed;
private float m_Timer;
private Vector3 m_StartPosition;
private void Start()
{
m_StartPosition = transform.localPosition;
}
private void Update()
{
... |
namespace HuaweiMobileServices.Ads
{
using HuaweiMobileServices.Utils;
using UnityEngine;
// Wrapper for com.huawei.hms.ads.HwAds
public static class HwAds
{
private static readonly AndroidJavaClass sJavaClass = new AndroidJavaClass("com.huawei.hms.ads.HwAds");
public static Requ... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SkillEngine.Extern.Enum.Football
{
public enum EnumFoulState : byte
{
None=9,
/// <summary>
/// 普通犯规
/// </summary>
FoulNormal = 0,
/// <summary>
/// 黄牌
... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.RevenueManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Packages
{
public class Todo
{
public bool Complete
{
get;
private set;
}
public String Id
{
get;
... |
using Neon.HomeControl.Api.Core.Enums;
using Neon.HomeControl.Api.Core.Interfaces.Services;
using System;
namespace Neon.HomeControl.Api.Core.Data.Services
{
public class ServiceInfo
{
public IService Service { get; set; }
public Guid ServiceId { get; set; }
public string Name { get; set; }
public Service... |
using UnityEngine;
namespace HzrController {
public class ProjectileInfo : MonoBehaviour
{
public float damage;
private float _rayDistance = 2.0f;
private RaycastHit _hit;
private void Start()
{
Destroy(this.gameObject, 12.0f);
}
private void Update()
{
GiveDama... |
using IFPS.Sales.Domain.Model;
namespace IFPS.Sales.Application.Dto
{
public class UserTeamTypeListDto
{
public int Id { get; set; }
public string Name { get; set; }
public UserTeamTypeListDto(UserTeamType userTeamType)
{
this.Id = userTeamType.Id;
this... |
/*
* Copyright 2011-2015 Numeric Technology
*
* 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 l... |
/*
* Copyright 2021-Present The Serverless Workflow Specification Authors
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>... |
using System.Collections.Generic;
using System.Linq;
using RoR2;
using Mono.Cecil.Cil;
using MonoMod.Cil;
using System;
using BepInEx.Logging;
using R2API.Utils;
using UnityEngine;
using UnityEngine.Networking;
namespace R2API {
public class PickupSelection {
public List<PickupIndex> Pickups { get; set; }... |
using System;
using System.Text;
using System.Collections.Generic;
using NUnit.Framework;
namespace mantis_tests.Tests
{
[TestFixture]
public class ProjectManageTests : AuthTestBase
{
[Test]
public void CreateNewProjectTest()
{
//List<ProjectData> oldProjects = applicat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JustDecompile.External.JustAssembly
{
public interface IOffsetSpan
{
int StartOffset { get; }
int EndOffset { get; }
}
} |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace tibs.stem.Migrations
{
public partial class addlastActInquiry : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>... |
using UnityEngine;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
[CreateAssetMenu(fileName = "GroundGravity", menuName = "State Machines/Actions/Ground Gravity")]
public class GroundGravityActionSO : StateActionSO
{
[Tooltip("Vertical movement pulling down the player to keep it anchored to the g... |
#nullable disable
namespace SpecFlow.VisualStudio.ProjectSystem;
internal class SpecFlowPackageDetector
{
private const string SpecFlowPackageName = "SpecFlow";
public const string SpecFlowToolsMsBuildGenerationPackageName = "SpecFlow.Tools.MsBuild.Generation";
public const string SpecFlowXUnitAdapterPa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GDO.Apps.Maps.Core;
using GDO.Utility;
namespace GDO.Apps.Maps.Core.Formats
{
public class GeoJSONFormat : Format
{
public StringParameter GeometryName { get; set; }
public StringParameter DefaultDataPro... |
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Types;
using SFA.DAS.EmployerCommitmentsV2.Web.Extensions;
namespace SFA.DAS.EmployerCommitmentsV2.Web.UnitTests.Extensions
{
public class ConfirmationStatusExtensionTests
{
[TestCase(ConfirmationStatus.Confirmed, "Confirmed")]
[TestCase(Conf... |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafv2RuleGroupRuleStatementOrStatementStatementAndStatementStatementByteMatchStatementFieldToMatchMethod), fullyQualifiedName: "aws.Wafv2RuleGroupRuleStatementOrStatementStatementAndSt... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using Desafio.Domain.Entities.Base;
using Desafio.Domain.Interfaces.Repositories.Base;
namespace Desafio.Infra.Persistence.Repositories.Base
{
public class RepositoryBase<TEntidade, TId> : I... |
using UnityEngine;
using XJGUI;
public class Sample01_Introduction : MonoBehaviour
{
private FlexibleWindow flexibleWindow;
private IntGUI intGUI;
private FloatGUI floatGUI;
public int intValue;
public float floatValue;
void Start()
{
// NOTE:
// Any other settings.
... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using System.Transactions;
using NUnit.Framework;
namespace AsyncDolls.Comonaden
{
// http://blogs.msdn.com/b/pfxteam/archive/2013/04/03/tasks-monads-and-linq.aspx
// https://github.com/iSynaptic/Monad-Comonad-Precis/blob/master/... |
using System;
namespace _06._Middle_Characters
{
class Program
{
static void Main(string[] args)
{
string str = Console.ReadLine();
Console.WriteLine(MiddleElement(str));
}
static string MiddleElement(string str)
{
string middle = s... |
using System;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.Rendering.LookDev
{
/// <summary>Interface that must implement the viewer to communicate with the compositor and data management</summary>
public interface IViewDisplayer
{
/// <summar... |
namespace ParksLookupApi.Helpers
{
public class AppSettings
{
public string Secret { get; set; }
}
} |
// 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 osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics;
using osu.Frame... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.commerce.antest.taskstatus.query
/// </summary>
public class AlipayCommerceAntestTaskstatusQueryRequest : IAlipayRequest<AlipayCommerce... |
using System;
using System.Collections.Generic;
namespace Genny
{
public interface IGennyModuleLocator
{
IEnumerable<GennyModuleDescriptor> FindAll();
IEnumerable<GennyModuleDescriptor> Find(String name);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public partial class CodeWriter
{
//
// Writes the RustNative.Platform.Interface
//
void PlatformInterface()
{
StartBloc... |
using FreeSql.DataAnnotations;
namespace OnceMi.Framework.Entity.Admin
{
/// <summary>
/// 组织机构管理人员(领导,分管领导)
/// </summary>
[Table(Name = nameof(OrganizeManagers))]
public class OrganizeManagers : IBaseEntity
{
/// <summary>
/// 组织Id
/// </summary>
public long O... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.