text stringlengths 1 932k |
|---|
using Solid.State;
using TelephoneSample.TelephoneParts;
namespace TelephoneSample.Telephone
{
/// <summary>
/// When the line has disconnected because the other end hanged up,
/// fast BEEPs are heard (same beeps as line busy, actually...)
/// </summary>
public class LineDisconnectedState : Telep... |
private class MessagePackSecurity.SingleEqualityComparer : MessagePackSecurity.CollisionResistantHasher<float> // TypeDefIndex: 5142
{
// Fields
internal static readonly MessagePackSecurity.SingleEqualityComparer Instance; // 0x0
// Methods
// RVA: 0x1692F30 Offset: 0x1693031 VA: 0x1692F30 Slot: 8
public overrid... |
using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace SendSMS.WebAPI.Models
{
/// <summary>
/// The statistics record
/// </summary>
[DataContract]
public class Record
{
/// <summary>
/// The date. Format: "yyyy-MM-dd... |
using App.Models;
using FluentValidation;
namespace App.Validators
{
public class DepartmentValidator : AbstractValidator<Department>
{
public DepartmentValidator()
{
RuleFor(m => m).NotNull();
RuleFor(m=>m.Name).Length(1, 32);
}
}
} |
using BinanceNETStandard.API.Client;
using BinanceNETStandard.API.Enums;
using BinanceNETStandard.API.Market;
using BinanceNETStandard.API.Models.Request;
using BinanceNETStandard.API.Models.Response.Error;
using BinanceNETStandard.API.Models;
using log4net;
using System;
using System.Collections.Generic;
using System... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Elastic.Apm.AspNetCore.Extensions;
using Elastic.Apm.DiagnosticSource;
using Elastic.Apm.Helpers;
using Elastic.Apm.Logging;
using Elastic.Apm.Model;
using Microsoft.AspNetCore.Http;
namespace Elastic.Apm.AspNetCore.DiagnosticLi... |
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
// General Information about an assembly is controlled t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrizeScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnCollis... |
using System;
using Xunit.Sdk;
namespace Mettle
{
[TraitDiscoverer("Mettle.TagDiscoverer", "NerdyMishka.Mettle.Xunit")]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
public class TagAttribute : System.Attribute, ITraitAttribute
{
public string Name {... |
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("Cir... |
using System.Linq.Expressions;
using gRPC.Select.Exceptions;
using gRPC.Select.Interface;
namespace gRPC.Select.PropertyConverters
{
public class ToUpperCase : IValueConverter
{
public Expression Convert(MemberExpression memberExpression)
{
if (memberExpression.Type != typeof(string... |
using Kooboo.CMS.Caching;
using Kooboo.CMS.Common.Persistence.Non_Relational;
using Kooboo.CMS.Sites.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kooboo.CMS.Sites.Persistence.EntityFramework.CustomErrorsProvider
{
[Kooboo.CMS.Common.Runtime.Dependency.Dep... |
// Copyright 2018, 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 i... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add... |
using System.Collections.Generic;
using System.Linq;
using Uintra.Core.Feed.Models;
using Uintra.Core.Feed.Settings;
using Uintra.Core.Member.Entities;
using Uintra.Core.Member.Services;
using Uintra.Features.Subscribe;
namespace Uintra.Core.Feed.Services
{
public class FeedFilterService : IFeedFilterService
... |
using System;
namespace Client.UI
{
/// <summary>
/// 选择机会UI界面
/// </summary>
public class UIChanceSelectController:UIController<UIChanceSelectWindow,UIChanceSelectController>
{
public UIChanceSelectController ()
{
}
protected override string _windowResource {
get {
return "prefabs/ui/s... |
/*
Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a>
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, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Terminal4Windows
{
class FileAndDirectory
{
public static void CreateDirectory()
{
Console.Write("pleas enter directory:");
str... |
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class DemoH_Tenant
{
public static void Init()
{
Console.WriteLine("");
Console.WriteL... |
// 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containe... |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... |
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("_0... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ChatListObject : MonoBehaviour {
public Text parentText;
public Image chatbarImage;
public Text senderName;
public Text childText;
} |
using d60.Cirqus.Views.ViewManagers;
namespace d60.Cirqus.Tests.Contracts.Views.Models.ViewLocators
{
class MyViewInstance : IViewInstance<CustomizedViewLocator>, ISubscribeTo<JustAnEvent>
{
public string Id { get; set; }
public long LastGlobalSequenceNumber { get; set; }
public void H... |
//Problem 2. Bonus Score
// Write a program that applies bonus score to given score in the range [1…9] by the following rules:
// If the score is between 1 and 3, the program multiplies it by 10.
// If the score is between 4 and 6, the program multiplies it by 100.
// If the score is between 7... |
using NUnit.Framework;
using SysEarth.Parsers;
using System.Collections.Generic;
namespace SysEarth.Tests.Parser
{
public class UserInputParserTests
{
private UserInputParser _userInputParser;
[OneTimeSetUp]
public void Setup()
{
_userInputParser = new UserInputPar... |
// *** 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 UnityEngine;
using System.Collections;
public class FPH_QuestionButton : MonoBehaviour {
public enum QuestionsEnum {Question01, Question02, Question03, Question04}
public QuestionsEnum questionType = QuestionsEnum.Question01;
// public SpriteRenderer buttonSprite;
// public Sprite spriteReleased;
// publ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Threading;
using FineCodeCoverage.Core.Utilities;
using FineCodeCoverage.Engine.Cobertura;
using FineCodeCoverage.Engine.Coverlet;
using FineCodeCoverage.Engine.Model;
using FineCod... |
namespace Microshaoft
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Linq;
public class LamadaExtention<TModel>
where TModel : new()
{
private List<Expression> _expressions = null;
private ParameterEx... |
// *** 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 System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using DotNet.Globbing;
using DotNet.Globbing.Token;
namespace DotNet.Glob.Benchmarks.Utils
{
/// <summary>
/// Formats a glob as a Regular expression string.
/// </summary>
public class GlobToRegexFormatter : IG... |
using Dapper.Contrib.Extensions;
namespace InstaHashtagGrabber.Model.Database
{
[Table("MediaUserTag")]
public class ResultMediaUserTag
{
public string MediaCode { get; set; }
public string UserName { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanmakuRandomizer
{
internal static class RandomExtension
{
public static double NextDecayedDouble(this Random random, double lowerBound, double upperBound)
{
... |
using System;
using System.Windows.Data;
using System.Windows.Markup;
namespace RTSFramework.GUI.Converters
{
public class CollapseExpandImageConverter : MarkupExtension, IValueConverter
{
private static CollapseExpandImageConverter collapseExpandImageConverter;
public override object ProvideValue(IServiceProvi... |
namespace YellowFoods.Links.Generators.Abstractions
{
public interface IFoodsGenerator
{
Link GetDeleteFoodLink(string relationship, int foodId);
Link GetGetFoodLink(string relationship, int foodId);
Link GetGetFoodsLink(string relationship);
Link GetPostFoodLink(string relation... |
using System;
using Microsoft.Graphics.Canvas.UI.Xaml;
using Microsoft.UI.Xaml.Media.Imaging;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Windows.Foundation;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Input;
using Microsoft.U... |
using ForumDEG.Models;
using ForumDEG.Utils;
using SQLite;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace ForumDEG.DAO {
public class FormAsksDatabase {
readonly SQLiteAsyncConnection _database;
private static FormAsksData... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// 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.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
usi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Network.Models
{
public partial class VpnDeviceScriptParameters : IUtf8JsonSerializable
{
v... |
using System;
using System.Collections.Generic;
using System.Drawing;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace Xamarin
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
protected UIWindow window;
protected UINavigationController navController;
protected Screens... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Newtonsoft.Json;
namespace MiracleDevs.CodeGen.Logic.Translations
{
public class TypeTranslators : ITypeTranslators
{
#region Properties
public Dictionary<string, TypeTranslator> Translators { get;... |
#if UNITY_EDITOR
namespace UnityEngine.Advertisements.Platform.Editor
{
internal class EditorBanner : INativeBanner
{
private IBanner m_Banner;
private BannerPlaceholder m_BannerPlaceholder;
private BannerPosition m_CurrentBannerPosition;
private BannerPosition m_TargetBannerPos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dal;
namespace DalMock
{
public class PersonDal : Dal.IPersonDal
{
public PersonDto GetPerson(int id)
{
return new PersonDto { Id = id, Name = "Maria Kowalski" };
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace vlibUI
{
[StructLayout(LayoutKind.Sequential)]
internal struct PlayersNumberType
{
public uint north;
public uint east;
... |
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/rebindguideacctforbuyer 接口的请求。</para>
/// </summary>
public class CgibinGuideRebindGuideAccountForBuyerRequest : WechatApiRequest, IInferable<CgibinGuideRebindGuideAcco... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine;
public class examplePhoneMsgScript : MonoBehaviour
{
public ScrollRect scrollRect;
public float scrollAmount;
Animation scrollAnim;
public Text LHText;
public T... |
// 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.Buffers;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipelines;
using Sys... |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime: 4.0.30319.42000
//
// Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si
// el código se vu... |
using System;
using System.Collections.Generic;
public class BePositive_broken
{
public static void Main()
{
int countSequences = int.Parse(Console.ReadLine());
for (int i = 0; i < countSequences; i++)
{
string[] input = Console.ReadLine().Trim().Split(' ');
var numbers = new List<int>();
for (int ... |
// This file is a part of SlimGet project.
//
// Copyright 2019 Emzi0767
//
// 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... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Nethereum.JsonRpc.Client;
using OTHub.BackendSync.Blockchain;
using OTHub.BackendSync.Logging;
using OTHub.BackendSync.Markets.Tasks;
using OTHub.BackendSync.Messaging;
using OTHub.BackendSync.... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
// <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 Balivo.AppCenterClient.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class PrivateIntun... |
@model Fap.AspNetCore.ViewModel.JqGridViewModel
<fap-grid id="@Model.JqgridId" grid-model="Model" auto-width="true" wrapper="modal-body" register-authority="false" oper-cud="true"></fap-grid> |
@using Ignition.Sc
<div class="row">
<div class="col-md-4">@Html.Sitecore().DynamicPlaceholder(IgnitionConstants.Placeholders.Content.Left)</div>
<div class="col-md-6">@Html.Sitecore().DynamicPlaceholder(IgnitionConstants.Placeholders.Content.Right)</div>
</div> |
using System.Collections.Generic;
using System.IO;
using me.cqp.luohuaming.ZhouYi.Sdk.Cqp;
using me.cqp.luohuaming.ZhouYi.Tool.IniConfig;
namespace ZhouYi.PublicInfos
{
public static class MainSave
{
/// <summary>
/// 保存各种事件的数组
/// </summary>
public static List<IOrderModel> Ins... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StdPaint
{
/// <summary>
/// Produces a random pattern of colors determined by a random number generator.
/// </summary>
public class RandomColorBufferBrush : BufferBrush
{... |
@model WebMvcNetCore.Models.Departamento
@{
ViewData["Title"] = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Departamento</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Nome)
</dt>
<dd>
... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
namespace BarrackWarsTasks.Models.Units
{
public class Swordsman : Unit
{
private const int DefaultHealth = 40;
private const int DefaultDamage = 13;
public Swordsman()
: base(DefaultHealth, DefaultDamage)
{
}
}
} |
@model IList<RockPaperScissors.Dto.Enums.PlayerType>
@using System.Linq;
<!-- Play Section -->
<section id="play" class="bg-primary">
<div class="container">
<div id="start-game" class="row">
<h3 class="section-subheading">Select Your Opponent...</h3>
@{int i = 1;}
@for... |
using VGAudio.Containers.Idsp;
using VGAudio.Formats;
namespace LoopingAudioConverter.VGAudio {
public class IDSPExporter : VGAudioExporter {
protected override byte[] GetData(AudioData audio) {
return new IdspWriter().GetFile(audio);
}
protected override string GetExtension() {
return ".idsp";
}
}
} |
using Ao.ObjectDesign.Wpf.Data;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Shapes;
namespace ObjectDesign.Brock.Controls.BindingCreators
{
public partial class RectangleSettingBindingCreator
{
public static readonly IReadO... |
using DotNetty.Buffers;
using DotNetty.Codecs;
using DotNetty.Transport.Channels;
using System;
using System.Collections.Generic;
using System.IO;
namespace Echo.Codecs
{
public class RequestDecoder : ByteToMessageDecoder
{
protected override void Decode(IChannelHandlerContext context, IByteBuffer mes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TwilioEmulator.API.Infrastructure;
using System.Web.Http;
using TwilioEmulator.Code.Models;
using TwilioEmulator.Code;
using Twilio;
namespace TwilioEmulator.API
{
public class SMSController : BaseController
{
... |
using System;
namespace Fnx.Core.Fn
{
public static partial class Composition
{
// @formatter:off
public static Func<TResult> Compose<T1, TResult>(this Func<T1, TResult> f, Func<T1> g) => () => f(g());
/// <summary>
/// (g ∘ f )(x) = g(f(x))
/// </summary>
public... |
// Copyright (c) Microsoft Corporation. All rights reserved.
using SmartDisplay.Contracts;
using SmartDisplay.Controls;
using SmartDisplay.Utils;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Windows.Foundation.Diagnostics;
using Windows.Storage;
using Win... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shape... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.commerce.sports.venue.order.query
/// </summary>
public class AlipayCommerceSportsVenueOrderQueryRequest : IAopRequest<AlipayCommerceSportsVenueOrd... |
using UnityEngine;
using System.Linq;
using System.Collections.Generic;
namespace UnityHelpers
{
public class PodPhysics : MonoBehaviour
{
private Rigidbody _podBody;
/// <summary>
/// The default values were adjusted for a vehicle with a mass of 1395
/// </summary>
pri... |
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.CodeCompletion;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.LookupItems;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructur... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Linq;
using AutoRest.Core;
using AutoRest.Core.Model;
using AutoRest.Core.Utilities;
using AutoRest.Swagger;
using Xunit;
using static AutoRest.Core... |
@{
ViewBag.Title = "角色";
}
@using EZNEW.Serialize;
<div id="page-head">
<div class="layui-row pd-0 mg-0">
<div class="column layui-form lis_search pd-0 pdb-10">
<div class="list_search_inputgroup mgl-5">
<div class="list_search_inputgroup">
<label class="l... |
using System;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
namespace WWT.Providers
{
public abstract partial class LoginWebUser : RequestProvider
{
internal static SqlConnection GetConnectionLogging()
{
string connStr = null;
connStr = Conf... |
using System;
using System.Collections.Generic;
using System.Linq;
using Matrix;
namespace AliceBot.Commands
{
public abstract class BaseCommand : IMessageHandler
{
protected readonly Alice alice;
public string CommandString { get; }
private readonly int paramCount;
protected ... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/security/privateca/v1beta1/service.proto
// </auto-generated>
// Original file comments:
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use t... |
/*=================================\
* CWA.DTP\FileInfo.cs
*
* The Coestaris licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*
* Created: 22.08.2017 20:09
* Last Edited: 19.08.2017 7:38:22
*=================================*/
using System;
namespace CW... |
using System;
namespace SuperMemoAssistant.Interop.SuperMemo.Content.Models
{
[Flags]
public enum ComponentFieldFlags : long
{
None = 0,
Left = 1,
Top = 2,
Width = 4,
Height = 8,
DisplayAt = 16,
RegistryId = 32,
Color = 64,
TextAlignment = 128,
ExtractStart = 256,
Ext... |
using System;
using CompanyName.MyMeetings.Modules.Administration.Application.Configuration;
using CompanyName.MyMeetings.Modules.Administration.Application.Configuration.Commands;
using Newtonsoft.Json;
namespace CompanyName.MyMeetings.Modules.Administration.Application.Members
{
internal class CreateMemberComma... |
@model SendEmailForm
@{
this.ViewData["Title"] = "Send Email";
}
@if (this.TempData.ContainsKey("Successful Message"))
{
<div class="alert alert-success alert-dismissible fade show">
<button type="button" class="close" data-dismiss="alert">×</button>
@this.TempData["Successful Message"]... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace Domain
{
public class AppUser: IdentityUser
{
public string DisplayName { get; set; }
public string Bio { get; set; }
public virtual ICollection<UserActivity> UserActivities { get; set; }
public vir... |
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// CustomerTag Data Structure.
/// </summary>
public class CustomerTag : AlipayObject
{
/// <summary>
/// 字段名称
/// </summary>
[JsonPropertyName("col_name")]
... |
using Substrate.Nbt;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace NBTExplorer.Windows
{
public partial class CreateNodeForm : Form
{
private readonly TagType _type;
private int _size;
public CreateNodeForm(TagType tagType)
: this(ta... |
using Epsagon.Dotnet.Instrumentation.Handlers.Empty;
namespace Epsagon.Dotnet.Instrumentation
{
public abstract class BaseOperationsFactory : BaseFactory<string, IOperationHandler>
{
protected BaseOperationsFactory() : base(new EmptyOperation()) { }
}
} |
using System;
using System.ComponentModel.DataAnnotations;
namespace AlSat.Server.Models
{
public class LogSystem
{
public int Id { get; set; }
public DateTime TimeStamp { get; set; }
[StringLength(10)]
public string Level { get; set; }
[StringLength(100)]
public string Controller { get; set; }
[S... |
using System;
namespace LanguageBasics.Common
{
internal enum BorderSide
{
Left,
Right,
Top,
Bottom
}
internal enum BorderSideExplicity
{
Left = 12,
Right = 34,
Top = 56,
Bottom = 78,
LeftEquivalent = 12
}
internal e... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using Xunit;
using LanguageExt;
using LanguageExt.Trans;
using LanguageExt.Trans.Linq;
using static LanguageExt.List;
using static LanguageExt.Prelude;
using System;
using System.Linq;
namespace LanguageExtTests
{
public class MonadTests
{
[Fact]
public void WriterTest()
{
... |
@using YeGods.Web
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper "*, cloudscribe.Web.Pagination"
@addTagHelper "*, YeGods.Web" |
using Bam.Net.Schema.Org.DataTypes;
namespace Bam.Net.Schema.Org.Things
{
///<summary>Professional service: Attorney. This type is deprecated - LegalService is more inclusive and less ambiguous.</summary>
public class Attorney: LegalService
{
}
} |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DiffPatch
{
public static class LineMatching
{
public static IEnumerable<(LineRange, LineRange)> UnmatchedRanges(int[] matches, int len2) {
int len1 = matches.Length;
int start1 = 0, start2 = 0;
do {
//search for a match poi... |
// 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 FluentAssertions;
using Microsoft.DotNet.Cli.Build.Framework;
using Microsoft.DotNet.CoreSetup.Test;
using Sys... |
using System.Data.Entity;
namespace UsingExternalDataInCallPro.Models
{
public class DataContext : DbContext
{
public DataContext() : base("name=DataContext")
{
// For production we disable EF migrations so the SQL Database dictates the model
Database.SetInitialize... |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, inclu... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
using EfsTools.Items.Data;
namespace EfsTools.Items.Nv
{
[Serializable]
[NvItemId(6027)]
[Attributes(9)]
public class Wcdma800RxfIciQCoef1011
{
[ElementsCount(1)]
[Elem... |
// Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using JetBrains.Annotations;
using N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.