text stringlengths 1 932k |
|---|
using NBi.Core.Assemblies;
using NBi.Extensibility.Resolving;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Sequence.Resolver
{
public class CustomSequenceResolverArgs : ISequenceResolver... |
/*
* Nz.Framework
* Author Paulo Eduardo Nazeazeno
* https://github.com/paulonz/Nz.Framework
*/
namespace Nz.Tests.Components.Mocks
{
using System.Security.Cryptography;
using Nz.Libs.Encryption;
/// <summary>
/// Mock para IEncryptionSettings
/// </summary>
public class MockEncryptionSet... |
using System;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
using System.Drawing;
using Pro_Swapper.API;
using Bunifu.Framework.UI;
using System.Threading.Tasks;
namespace Pro_Swapper
{
public partial class OodleSwap : Form
{
private api.Item ThisItem;
public OodleSwap... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Inte... |
/* 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... |
using ST.SolutionHub.DataLayer.Abstracts;
using ST.SolutionHub.DataLayer.Entities;
namespace ST.SolutionHub.DataLayer.Repositories.Abstracts
{
public interface IRefreshTokenRepositry : IRepository<RefreshToken, long>
{
}
} |
using System;
namespace CarDeliveryNetwork.Types.Interfaces
{
/// <summary>
/// Interface describing a Car Delivery Network user.
/// </summary>
public interface IFleet : IOwnable
{
/// <summary>
/// Id
/// </summary>
int Id { get; }
/// <summary>
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using Mi... |
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/plugin?action=list 接口的请求。</para>
/// </summary>
public class WxaPluginListRequest : WechatApiRequest
{
/// <summary>
/// <i>(使用默认值即可,无需修改)</i>
/// </summary>
[Newtonsoft.Json.Js... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcrelconnects.htm"/>
/// </summary>
public abstract partial class IfcRelConnec... |
using GestaoFluxoFinanceiro.Negocio.Interfaces;
using GestaoFluxoFinanceiro.Negocio.Models;
using Microsoft.AspNetCore.Authorization;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace GestaoFluxoFinanceiro.Negocio.Servicos
{
[Authorize]
public class CaixaService : BaseService, ICaixaSer... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.AspNetCore.Mvc;
using NewLife.Web;
using XCode.Membership;
using XLog = XCode.Membership.Log;
using static XCode.Membership.Log;
using XCode;
namespace NewLife.Cube.Admin.Controllers
{
/// <summary>审计日志控制器</summary>
[... |
using UnityEngine;
using Zinnia.Action;
using WebXR;
public class VRTKWebXR : BooleanAction
{
public WebXRController controller;
// Update is called once per frame
void Update() {
Receive(controller.GetButton(WebXRController.ButtonTypes.Trigger));
}
} |
using System.Collections.Generic;
using System.Linq;
namespace LinkerGenerator
{
internal static class EnumerableExtensions
{
public static IEnumerable<TItem> Concat<TItem>(this IEnumerable<TItem> enumerable, TItem item) => enumerable.Concat(new[] { item });
}
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using Plugin.BLE.Abstractions;
using Plugin.BLE.Tests.Mocks;
using Xunit;
namespace Plugin.BLE.Tests
{
public class CharacteristicBaseTests
{
[Theory(DisplayName = "Setting WriteType to not supported type throws InvalidOperationException"... |
using System;
using System.Windows.Controls;
using ActiproSoftware.ProductSamples.EditorsSamples.Common;
using ActiproSoftware.SampleBrowser;
using ActiproSoftware.Windows.Controls.Editors.Primitives;
namespace ActiproSoftware.ProductSamples.EditorsSamples.QuickStart.EnumEditBoxIntro {
/// <summary>
/// Provides th... |
// 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.Collections.Generic;
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalys... |
/* Copyright 2013-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
using System.Collections.Generic;
using Trady.Analysis.Candlestick;
using Trady.Core.Infrastructure;
namespace Tradlite.Services.Signals.CandlePattern
{
public class BullishEngulfingPatternSignal : CandlePatternBase, ISignalService
{
public int[] GetSignals(IReadOnlyList<IOhlcv> candles, string parame... |
using System.Web;
using System.Web.Optimization;
namespace DiagnosticsWebRole
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(ne... |
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("le... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System
{
public class ConvertExtension
{
//public static T ChangeType<T>(this Convert c, object value)
//{
// return (T)Convert.ChangeType(value, typeof(T));
//}
}
} |
/* Copyright 2010-2013 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... |
/*
* 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 R5T.T0064;
namespace R5T.Bath.File.Default
{
[ServiceImplementationMarker]
public class SpecifiedHumanOutputFileNameProvider : IHumanOutputFileNameProvider, IServiceImplementation
{
private string HumanOutputFileName { get; }
public SpecifiedHumanOutputFileNameProvi... |
@using System.Web.Http
@using AspNetStudy.Areas.HelpPage.ModelDescriptions
@model ModelDescription
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
<div id="body" class="help-page">
<section class="featured">
<div class="content-wrapper">
<p>
@Html.... |
using System;
using System.Collections.Generic;
using System.IO;
namespace JTfy
{
public class RangeLODNodeElement : LODNodeElement
{
private VecF32 rangeLimits = new VecF32();
public VecF32 RangeLimits { get { return rangeLimits; } set { rangeLimits = value ?? new VecF32(); } }
priva... |
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 ControleFinanceiro
{
public partial class frmPrincipal : Form
{
public frmPrin... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Business.Application.ViewModels;
using Business.Contracts.Commands.ServiceCategories;
using Business.Domain.Entities.Schedules;
namespace Business.Application.Interfaces
{
public interface IServiceCategoryService : IDisposable
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Solution.Application.Applications;
using Solution.CrossCutting.AspNetCore.Attributes;
using Solution.Model.Models;
namespace Solution.Web.App
{
[AllowAnonymous]
[ApiController]
[RouteController... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DotZeroMQ.UnitTests
{
[TestClass]
public class ContextTests
{
[TestMethod]
public void Context_Create_Dispose_Test()
{
ZmqContext context;
using (context = new ZmqContext())
{
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace System.Management.Automation
{
/// <summary>
/// PSListModifier is a simple helper class cre... |
using System;
using ClassLibrary.Presentation.Presenters;
using ClassLibrary.Presentation.ViewContracts;
namespace WebApplication.Pages
{
public partial class Company : PageBase, ICompanyDetailView
{
private const string viewStateCompanyIdkey = "CompanyId";
public int CompanyIdField
{... |
using Microsoft.Extensions.Logging;
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace KyoshinEewViewer.Services
{
public class LoggingService
{
private static LoggingService? _default;
private static LoggingService Default => _default ??= new LoggingService();
private ILoggerFacto... |
using UnityEngine;
using UnityEngine.EventSystems;
public delegate void SliderDrag();
public class VideoSliderEvent : MonoBehaviour,IDragHandler
{
public static event SliderDrag Event_SliderDrag;
public void OnDrag(PointerEventData eventData)
{
if(Event_SliderDrag!=null)
{
Ev... |
using DataCloner.Core.Metadata;
using DataCloner.GUI.Framework;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
namespace DataCloner.GUI.Model
{
class DatabaseModifierModel : ValidatableModelBase
{
internal string _name... |
// <auto-generated>
// ReSharper disable All
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Tester.Integration.EfCore3
{
// EventProcessor
public class EventProcessorConfiguration : IEntityTypeConfiguration<EventProcessor>
{
public void Config... |
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Dashboard</h1>
<br/>
<div class="Row">
<div id="chartContainer" class="Column" style="height: 370px; width: 30%;"></div>
<div id="chartContainer2" class="Column" style="height: 370px; width: 30%;... |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using SharedBatch.Properties;
namespace SharedBatch
{
public class MainFormUtils
{
public static void OpenFileExplorer(string configName, bool configValid, string folderPath, string folderDescriptio... |
using System;
using EasyRecipezy.Core.Models;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Platforms.Ios.Binding.Views;
using UIKit;
using static EasyRecipezy.Core.RecipesListViewModel;
namespace EasyRecipezy.iOS.Views.Cells
{
public partial class RecipeCell : MvxTableViewCell
{
/**
... |
using UnityEngine;
using System.Collections;
public class PerlinNoise : MonoBehaviour {
public int pixWidth = 10;
public int pixHeight = 10;
public float xOrg;
public float yOrg;
public float scale = 1.0F;
private Texture2D noiseTex;
private Color[] pix;
private Renderer rend;
void Start() {
rend = GetComp... |
// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#pragma warning disable 0169
namespace HexDataMovies.Client.Shared
{
#line hidden
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Mi... |
using System.Reflection;
using ExtendedXmlSerializer.ContentModel.Members;
using ExtendedXmlSerializer.Core.Specifications;
namespace ExtendedXmlSerializer.ExtensionModel.Content.Members
{
sealed class IsField : DelegatedSpecification<IMember>
{
public static IsField Default { get; } = new IsField();
IsField() ... |
/*
* 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 RimWorld;
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using Verse;
namespace EdB.Interface
{
public class UserInterface : UIRoot_Map
{
public delegate void UIRootOnGUIDelegate();
public delegate void UIRootUpdateDelegate();
public new MainTabsRoot mainTab... |
/*
* Developer: Ramtin Jokar [ Ramtinak@live.com ] [ My Telegram Account: https://t.me/ramtinak ]
*
* Github source: https://github.com/ramtinak/InstagramApiSharp
* Nuget package: https://www.nuget.org/packages/InstagramApiSharp
*
* IRANIAN DEVELOPERS
*/
using System.Collections.Generic;
using Newtonsoft.Jso... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.ComponentModel.DataAnnotations
{
/// <summary>
/// Validation attribute to indicate that a property field or parameter is required.
/// </summary>
... |
// ------------------------------------------------------------
// 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... |
@model SurveyMVCBase1.Models.Survey
@{
Layout = "~/Views/Shared/_Layout_S1.cshtml";
ViewBag.Title = "S1Page2";
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.H... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Xunit;
namespace LongDataTests
{
public class LongDataTests
{
[ProtoContract]
public class MyModelInner
{
[ProtoMember(1)]
public i... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Studio.Wizet.Audio.Dmo
{
[Flags]
enum DmoEnumFlags
{
None,
DMO_ENUMF_INCLUDE_KEYED = 0x00000001
}
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Consensus.Rules;
using Stratis.Bitcoin.Features.BlockStore.AddressIndexing;
using Stratis.Bitcoin.Features.PoA;
using Stratis.Bitcoin.Interfaces;
using Stratis.Bitcoin.Utilities;
usi... |
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... |
using System.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("09... |
/*
Copyright 2011 MCForge
Dual-licensed under the Educational Community License, Version 2.0 and
the GNU General Public License, Version 3 (the "Licenses"); you may
not use this file except in compliance with the Licenses. You may
obtain a copy of the Licenses at
http://www.opensource.org/licenses/ecl2.php
... |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 writing,... |
using System.Collections.Generic;
using JsonTranslate.NET.Core.Abstractions;
using JsonTranslate.NET.Core.Abstractions.Exceptions;
using JsonTranslate.NET.Core.Abstractions.Transformers;
using Newtonsoft.Json.Linq;
namespace JsonTranslate.NET.Core.Transformers.Collections
{
[Transformer(name: "current")]
publ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen
// Imported in uno on 2021/03/21 from commit 307bd99682cccaa128483036b764c0b7c862d66... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>@ViewData["Title"] - ColinChang.IdentityServer.AuthorizationCodeMvcClient</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css"/>
... |
using MAU.Attributes;
using MAU.Core;
using static MAU.Attributes.MauMethod;
using static MAU.Attributes.MauProperty;
namespace MAU.ReadyComponents;
public class MauButton : MauComponent
{
#region [ Mau Properties ]
[MauProperty("disabled", MauPropertyType.NativeProperty)]
public bool Disabled { get; se... |
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
namespace Pegasus.Compiler
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Threading;
using Pegasus.Exp... |
using System.Linq;
using System.Threading.Tasks;
using Sinc.Spotify.Services.SpotifyAPI;
namespace Sinc.Spotify.Services.Playlists
{
public class SpotifyPlaylistService : ISpotifyPlaylistService
{
private ISpotifyCaller _caller { get; set; }
public SpotifyPlaylistService(ISpotifyCaller caller)... |
using System.IO;
namespace Trinity.Azure.Storage.Test
{
public static class ConfigInit
{
public static void Init()
{
BlobStorageConfig.Instance.ConnectionString = File.ReadAllText("key.txt");
BlobStorageConfig.Instance.ContainerName = "testcontainer";
}
}
} |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Response to GroupPolycomPhoneServicesGetRequest.
/// <see cref="GroupPolycomP... |
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("Com... |
// Copyright © 2010-2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Net.Security;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
na... |
using Net5Template.Core.Bus;
using Net5Template.Core.Repository;
using Net5Template.Core.Services;
using Net5Template.Infrastructure.Bus;
using Net5Template.Infrastructure.Caching;
using Net5Template.Infrastructure.DataContext;
using Net5Template.Infrastructure.Email;
using Net5Template.Infrastructure.Formatters;
usin... |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YamlSharp.Parsing
{
/// <summary>
/// Character matching rules.
/// The methods in this class are static and will never consume any character (increment P)
/// </summary>
internal static class Charset
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReflectionHelper.cs" company="">
// Copyright (c) 2013 Aaron Zhang, for OrderDynamics coding test. All Rights Reserved.
// </copyright>
// -------------------------------------... |
// <auto-generated />
using System;
using DockerCompose.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DockerCompose.Data.Migrations
{
[DbContext(type... |
using System;
using System.IO;
using System.Linq;
using Localization.Xliff.OM.Core;
using Localization.Xliff.OM.Serialization;
using NUnit.Framework;
namespace XliffLib.Test
{
[TestFixture()]
public class InLineCodeExtractorTests
{
[Test()]
public void SingleParagraphPlainTextUnitIsLeftUnt... |
using System;
namespace sccdownloader
{
public class SCCException : Exception
{
public SCCException(string message)
{
}
}
[Serializable]
public class ConnectionException : Exception
{
public ConnectionException(string message)
{
}
}
} |
using AutoMapper;
using Core.Features.Playlists.Commands;
using Domain.Dtos;
using Domain.Entities;
using Domain.Wrapper;
namespace Core.Mappings;
public class PlaylistProfile : Profile
{
public PlaylistProfile()
{
CreateMap<AddPlaylistCommand, Playlist>();
CreateMap<Playlist, PlaylistDto>();... |
using DSIS.Utils;
namespace DSIS.SimpleRunner.ImageEntropy
{
public class SimpleEntropyBuildParameters : EntropyBuildParameters
{
public override EntropyBuildParameters Clone()
{
return new SimpleEntropyBuildParameters();
}
public override void Log(ILogger logger)
{
logger.Write("M... |
namespace MvvmDialogs.Wpf.FrameworkDialogs.Api;
internal class OpenFileApiSettings : FileApiSettings
{
public bool Multiselect { get; set; }
public bool ReadOnlyChecked { get; set; }
public bool ShowReadOnly { get; set; }
internal void ApplyTo(System.Windows.Forms.OpenFileDialog d)
{
bas... |
using System;
namespace Graduation
{
class Graduation
{
static void Main(string[] args)
{
string name = Console.ReadLine();
double sum = 0;
int level = 1;
while (level <= 12)
{
double mark = double.Parse(Console.ReadL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TestDeathSolution.Web.Interfaces;
namespace TestDeathSolution.Web.Domain
{
public class UserData : IUserAuthData
{
public int Id { get; set; }
public string Name { get; set; }
public IEnumerable<... |
using System.ComponentModel.DataAnnotations.Schema;
namespace petshelterApi.Domain
{
public class Pet
{
public int Id { get; set; }
public string Name { get; set; }
public string HandlerId { get; set; }
public int ShelterId { get; set; }
public Shelter Shelter { get; se... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Discord.Net.Converters
{
internal class InteractionConverter : JsonConverter
{
public static InteractionConverter Instance => new InteractionConverter();
public override bool CanRead => true;
public override boo... |
using Domo.Misc;
using Domo.Misc.Debug;
using Domo.Scripting;
using Domo.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Domo.Packaging
{
public class PackageManager
{
public List<Package> packages = new List<Package>();
private stri... |
using Laurus.UiTest;
using Laurus.UiTest.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppiumSample.Pages
{
public class BioPage : IPage
{
public IEditable Name {get;set;}
public IEditable Age { get; set; }
public IEdita... |
using System;
namespace ASCompletion.Model
{
[Flags]
public enum Visibility : uint
{
Default = 1 << 1,
Public = 1 << 2,
Internal = 1 << 3,
Protected = 1 << 4,
Private = 1 << 5,
}
[Flags]
public enum FlagType : ulong
{
Package = 1 << 1,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player_Move : MonoBehaviour
{
#region Refrences
[Header("Input")]
public KeyCode right;
public KeyCode left;
public KeyCode jump;
public KeyCode dash;
public Rigidbody2D rb;
public Transform sp... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RPS_GameApi
{
public class Program
{
public st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace IdentityServerAspNet.Views.Account
{
public class LoggedOutModel : PageModel
{
public void OnGet()
{
}
... |
// Generated on 12/11/2014 19:02:09
using System;
using System.Collections.Generic;
using System.Linq;
using BlueSheep.Common.IO;
namespace BlueSheep.Common.Protocol.Types
{
public class IgnoredInformations : AbstractContactInformations
{
public new const short ID = 106;
public override short TypeId
{
get { ret... |
using System;
using BEPUphysics.Entities;
using BEPUutilities;
namespace BEPUphysics.Constraints.TwoEntity.JointLimits
{
/// <summary>
/// Constrains the distance along an axis between anchor points attached to two entities.
/// </summary>
public class LinearAxisLimit : JointLimit, I1DImpulseConstra... |
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
namespace PrismDeNwnpOnTab.ViewModels
{
public class MainPageViewModel : BindableBase
{
private INavigationService _navigationservice;
... |
using Morbius.Scripts.UI;
using Morbius.Scripts.Cursor;
using Morbius.Scripts.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Morbius.Scripts.Debugging
{
public class DebugCursorEvent : MonoBehaviour
{
private in... |
// -----------------------------------------------------------------------------
// 让 .NET 开发更简单,更通用,更流行。
// Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd.
//
// 框架名称:Furion
// 框架作者:百小僧
// 框架版本:2.8.9
// 源码地址:Gitee: https://gitee.com/dotnetchina/Furion
// Github:https://github.com/monksoul/Furion
// 开源协... |
@page "/"
@namespace SampleServerApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = "_Layout";
}
<component type="typeof(App)" render-mode="ServerPrerendered" /> |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
namespace Octokit.Tests.Clients
{
public class ProjectsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using FreeSql.DataAnnotations;
using FreeSql.DatabaseModel;
using FreeSql.Internal;
using FreeSql.Internal.Model;
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;... |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class scnInterruptionScenarioId : CVariable
{
[Ordinal(0)] [RED("id")] public CUInt32 Id { get; set; }
public scnInterruptionScenarioId(CR2WFile cr2w, CVariable paren... |
namespace UniversityStudentSystem.Web.Models.Account
{
public class ExternalLoginListViewModel
{
public string ReturnUrl { get; set; }
}
} |
using System;
class Magic_Numbers
{
static void Main()
{
int number = int.Parse(Console.ReadLine());
for (int oneDigit = 1; oneDigit <= 9; oneDigit++)
{
for (int twoDigit = 1; twoDigit <= 9; twoDigit++)
{
for (int thirdDidgit = 1; thirdDidgit <... |
using System;
using System.Threading.Tasks;
using R5T.Carpathia;
using R5T.Lombardy;
using R5T.T0064;
namespace R5T.Quadia.Carpathia
{
[ServiceImplementationMarker]
public class OrganizationDataDirectoryPathProvider : IOrganizationDataDirectoryPathProvider, IServiceImplementation
{
private IOrg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.