text stringlengths 1 932k |
|---|
using System;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices;
namespace QuickGraph
{
/// <summary>
/// An struct based <see cref="IEdge<TVertex>"/> implementation.
/// </summary>
/// <typeparam name="TVertex">The type of the vertex.</typeparam>... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using Util.Ui.Angular.AntDesign.Tests.XUnitHelpers;
using Util.Ui.Configs;
using Util.Ui.Enums;
using Util.Ui.Zorro.Forms;
using Xunit;
using Xunit.Abstractions;
using String = Util.Helpers.String;
namespace Util.Ui.Angular.AntDesign.Tests.Zorro.Forms {
/// <summary>
... |
using ChatMessages;
using Akka;
using Akka.Actor;
using Akka.Configuration;
using Akka.Remote;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Akka.Event;
namespace ChatServer
{
class Program
{
static void Main(string[] args)
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Extensions.ServiceBus.Config;
using Microsoft.Azure.WebJobs.Host.... |
using System;
using System.Buffers.Binary;
using System.IO;
namespace iPhoneTools
{
public static class KeyBagExtensions
{
public static void SetValue(this KeyBag item, string blockIdentifier, ReadOnlySpan<byte> value)
{
switch (blockIdentifier)
{
case K... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ScrapySharp.Network
{
public class RawRequest
{
public RawRequest(string verb, Uri url, Version httpVersion, List<KeyValuePair<string, string>> headers, byte[] body, Encoding encoding)
{
Encoding = encoding... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using VscpHelperLibWrapper.DataTypes;
using VscpHelperLibWrapper.EventArguments;
using VscpHelperLibWrapper.Interfaces;
namespace VscpSimulator
{
public class ReceiverSim : IVscpEv... |
// ***********************************************************************
// 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, incl... |
using ContactInterview.Application.Common.Exceptions;
using ContactInterview.Application.Common.Interfaces;
using ContactInterview.Application.Common.Security;
using MediatR;
using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace ContactInterview.Appl... |
/*
* 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... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Mesh3D.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// <summary>
// Represents a 3D mesh for polygon models containing faces w... |
using Celeste;
namespace Snowberry.Editor.Entities {
[Plugin("key")]
public class Plugin_Key : Entity {
public override void Render() {
base.Render();
GFX.Game["collectables/key/idle00"].DrawCentered(Position);
}
public static void AddPlacements() {
... |
using EnvDTE;
using EnvDTE80;
using Microsoft;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Tex... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Optical_View.Model
{
public static class Launch
{
/// <summary>
/// 初始化项目文件
/// </summary>
public static class Startupz_type {
public static string Type { get; set; }
public st... |
// 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
using System.Collections.Immutable;
using Sy... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using Xunit;
public static partial class TextEncodingTests
{
// Sim... |
using System;
using System.Linq.Expressions;
using JetBrains.Annotations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal;
using Npgsql.EntityFrameworkCore.PostgreSQL.Utilities;
namespace Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal
{
/// <summary>
/// PostgreSQL has quite a few... |
using Serilog;
using System;
using System.Configuration;
using System.IO;
using System.Xml.Linq;
using System.Xml.Schema;
namespace AnAusAutomat.Toolbox.Xml
{
public class XmlSchemaValidator
{
private string _schemaFilePath;
private string _configFilePath;
private string _schemaNotVali... |
namespace MithrilShards.Chain.Bitcoin.Consensus
{
public class CoinsView : ICoinsView
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace HevoDrawing
{
public interface IDrawingBuilder
{
bool IsClosed { get; set; }
Point Start { get; set; }
Point E... |
/*
* 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 System;
using System.Collections;
using System.Collections.Generic;
namespace Git.Lfx {
public sealed class LfxConfigFile : IEnumerable<GitConfigValue> {
public const string FileName = ".lfxconfig";
public const string UrlId = "lfx.url";
public const string PatternId = "lfx.pattern"... |
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System.Collections.ObjectModel;
namespace System.Management.Automation
{
/// <summary>
///
/// Cla... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CModStoryBoardOverviewModeStateSbUi_Over... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OnTriggerStay : MonoBehaviour {
private GameObject target = null;
private Vector3 offset;
void Start()
{
target = null;
}
void OnTriggerStay2D(Collider2D col)
{
target = col.gameObj... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Serilog;
namespace DockerProxy.Docker
{
public class DockerClient
{
public static async Task<string> InspectAsync(string id)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExcellentOrNot
{
class Program
{
static void Main(string[] args)
{
var grade = double.Parse(Console.ReadLine());
if (grade >= 5.50)
... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Security;
namespace Ropufu.Homepage.TagHelpers;
[HtmlTargetElement("embed-content")]
public class EmbedContentTagHelper : TagHelper
{
private static string? s_webRootPath;
public EmbedContentTagHelper(IWebHostEnvironment env)
{
if (Embed... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace PKO.Models
{
public class UserPermission
{
public long Id { get; set; }
[Required(ErrorMessage = "MISSING_Compan... |
namespace Madlibs.Models
{
public class MadlibVariable
{
private string _adj1;
private string _adj2;
private string _adj3;
private string _adj4;
private string _adj5;
private string _adj6;
private string _adj7;
private string _adj8;
private... |
/*
* 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 IEManageSystem.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
namespace IEManageSystem.Services.ManageHome.CMS.Pages.Dto
{
public class UpdateComponentDataOutput
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Queries;
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCore.Serialization.Building
{
/// <inheritdoc />
public class MetaBuilder<TResource> : IMetaBuilder<TResource> whe... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abpluz.Abp.LocalizableContents;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Localization;
namespace Pluz.Sample.DemoProducts
{
public class DemoProductLocalizableEntry : CreationAuditedEntity, IHasLocali... |
namespace Bookmarks.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Common;
public class Website
{
private ICollection<Bookmark> bookmarks;
public Website()
{
this.bookmarks = new HashSet<Bookmark>();
... |
using System.Text;
namespace MDTA_Labs.Model
{
public static class GlobalLog
{
public static StringBuilder ConsoleLog { get; set; } = new StringBuilder();
}
} |
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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 la... |
using System;
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
namespace UdonToolkit {
public class RemoteHands : UdonSharpBehaviour {
public GameObject leftHand;
public GameObject rightHand;
public Transform createUnder;
private Rigidbody[][] hands;
private VRCP... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
namespace Microsoft.... |
using System;
namespace Hardware.Info
{
public class Motherboard
{
public string Manufacturer { get; internal set; } = string.Empty;
public string Product { get; internal set; } = string.Empty;
public string SerialNumber { get; internal set; } = string.Empty;
public override s... |
using EPiServer;
using EPiServer.Core;
using EPiServer.Find;
using EPiServer.Find.Api.Querying.Queries;
using EPiServer.Find.Framework;
using EPiServer.Find.Cms;
using EPiServer.Find.UnifiedSearch;
using EPiServer.Framework.Web;
using EPiServer.Web;
using EPiServer.Web.Routing;
using AlloyDemoKit.Business;
using Alloy... |
using RabbitMQ.Client.Events;
using TRRabbitMQ.Core.Builders;
using TRRabbitMQ.Core.Connections;
using TRRabbitMQ.Core.Messages;
using TRRabbitMQ.Core.Models;
using TRRabbitMQ.Core.Tests.Utils;
namespace TRRabbitMQ.Core.Tests.Connections.IntegrationTests.Extensions
{
public static class ConnectionExtensions
{
... |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using FSSafe = Internal.Utilities.FileSystem;
using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.Colle... |
using System;
using System.Threading.Tasks;
using Courier.Api.Framework;
using Courier.Core.Commands;
using Microsoft.AspNetCore.Mvc;
namespace Courier.Api.Controllers
{
[Route("[controller]")]
public abstract class ApiControllerBase : Controller
{
private readonly ICommandDispatcher _commandDispat... |
/*
* Copyright (c) Contributors, http://aurora-sim.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must reta... |
// 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 Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.ProjectSystem.VS.Tree.Dependencies.Snapshot;
using Xunit;
namespace Microsoft.VisualStud... |
using SSICPAS.Configuration;
using SSICPAS.Data;
using SSICPAS.Services.Interfaces;
using SSICPAS.ViewModels.Certificates;
using SSICPAS.Views.Certificates;
using Xamarin.Forms;
namespace SSICPAS.Services
{
public abstract class BaseBrightnessService : IBrightnessService
{
public BaseBrightnessService... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... |
// 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 System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.Editor.Commands;
using Microsof... |
// <auto-generated />
using AuditManagementPortalClientMVC.Models.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Quantum.Simulation.Core... |
/*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... |
namespace GameFramework.Resources
{
/// <summary>
/// 加载资源状态
/// </summary>
public enum LoadResourcesStatus
{
// 加载完成
Ok = 0,
// 资源尚未准备完毕
NotReady,
// 资源不存在
NotExist,
// 依赖资源错误
DependencyError,
// 资源类型错误
TypeError,
... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using GraphQL.Builders;
using Microsoft.EntityFrameworkCore;
namespace GraphQL.EntityFrameworkCore.Helpers
{
public class FieldQueryBuilder<TSourceType, TReturnType, TProperty> : QueryBuilderBase<TProperty, IResolveFieldC... |
using Microsoft.Crm.Sdk.Messages;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using Microsoft.Xrm.Sdk.Workflow;
using System;
using System.Activities;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace msdyncrmWorkflowT... |
public interface IAmmunition
{
string Name { get; }
double WearLevel { get; }
void DecreaseWearLevel(double wearAmount);
} |
namespace FocusTreeManager.Model
{
public interface ISet
{
void DeleteSetRelations();
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using Unity.Netcode;
using Sirenix.OdinInspector;
public class Clicker : NetworkBehaviour
{
public TextMeshPro counter;
public NetworkVariable<int> count = new NetworkVariable<int>(0);
public bool printVal = false;
... |
using System;
using System.Collections.Generic;
namespace RestauantAPP.Model
{
public class SessionData
{
public static IEnumerable<Session> Get()
{
return new List<Session>()
{
new Session() {SessionTitle = "big data", SessionSpeaker = "speaker1", IsTe... |
namespace JRunner
{
partial class Splash
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MostValuedCustomer
{
class MostValuedCustomer
{
static void Main(string[] args)
{
string line = Console.ReadLine();
var shopPrices = new Diction... |
//----------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Microsoft Corporation">
// Licensed under the MIT License. See LICENSE.TXT in the project root license information.
// </copyright>
//--------------------------------------... |
using AKNProje.ToDo.BLL.Interface;
using AKNProje.ToDo.Entities.Concrete;
using AKNProje.ToDo.Web.Areas.Admin.Models;
using AKNProje.ToDo.Web.Areas.Member.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Sys... |
// <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 HiRezApi.RealmRoyale.Models
{
using System;
using HiRezApi.Common.Models;
public partial class Placement
... |
using AutoMapper;
using Products.API.DTOs;
using Products.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Products.API.Helpers.Mappings
{
public class DTOToModelMappingProfile : Profile
{
public DTOToModelMappingProfile()
{
Crea... |
using System;
using System.Diagnostics;
using System.Globalization;
using System.Windows.Data;
namespace Kchary.PhotoViewer.Converter
{
public sealed class BoolToEnumConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using aspnetcoreoauth.Data;
using Microsoft.Extensions.Configuration... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Xml {
u... |
// Copyright 2019 DeepMind Technologies Limited
//
// 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 file="CommandExtensions.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Cli
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Corvus.Cli.Internal;
using Co... |
/*
* 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 System.Linq;
using Windows.UI.Xaml;
namespace WinRTXamlToolkit.Controls.Extensions
{
/// <summary>
/// Style type extension methods.
/// </summary>
public static class StyleExtensions
{
/// <summary>
/// Gets the property value for the given property in the given style.
... |
using UnityEngine;
using System.Collections;
public class TRHUDUnit_Indicator : MonoBehaviour
{
//private TRCarController m_centerPlayerController = null;
//public TRCarController centerPlayerController
//{
// get { return m_centerPlayerController; }
// set {
// m_centerPlayer... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
namespace SRMAPI.Areas.HelpPage.ModelDescriptions
{
public class SimpleTypeModelDescription : ModelDescription
{
}
} |
using System;
namespace Renci.SshNet.Security.Chaos.NaCl.Internal.Ed25519Ref10
{
internal static partial class FieldOperations
{
/*
h = -f
Preconditions:
|f| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc.
Postconditions:
|h| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc.
*/
interna... |
using System.Collections.Generic;
using ZKWeb.Localize;
using ZKWebStandard.Extensions;
using ZKWebStandard.Ioc;
namespace ZKWeb.Plugins.Finance.Payment.src.Components.Translates {
/// <summary>
/// 日本语翻译
/// </summary>
[ExportMany, SingletonReuse]
public class ja_JP : ITranslateProvider {
private static HashS... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Boundary;
using Microsoft.MixedReality.Toolkit.CameraSystem;
using Microsoft.MixedReality.Toolkit.Diagnostics;
using Microsoft.... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Web.Http.ModelBinding;
using VotingApplication.Data.Model;
using VotingApplication.Web.Api.Models.DBViewModels;
namespace VotingApplication.Web.Api.Validators
{
public class MultiVoteValidator : IVoteValidator
{
public voi... |
using CsvSerializer;
using Demo.CS.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Demo.CS.Examples
{
public static class SerializeObject
{
public async static Task Serialize()
{
// create some data... |
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("De... |
/* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 Peter Gill <peter@majorsilence.com>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (the "License");
you may... |
using System.IO;
namespace ECommon.Storage
{
public interface ILogRecord
{
void WriteTo(long logPosition, BinaryWriter writer);
void ReadFrom(byte[] recordBuffer);
}
} |
using System.Collections.Generic;
namespace JUDI.Server.Ladder.Utils
{
public class Email
{
public static IEnumerable<string> GetEmails(string emailString)
{
return emailString.Split(new[] { ',', ';' });
}
}
} |
using System.ComponentModel.DataAnnotations;
namespace Iris.Web.ViewModels.Identity
{
#region ForgotViewModel
public class ForgotViewModel
{
#region Properties
[Required]
[Display(Name = "Email")]
public string Email { get; set; }
#endregion
}
#endregion
} |
namespace Herc.Pwa.Server.Integration.Tests.Features.AssetDefinition.Create
{
using System.Threading.Tasks;
using FluentValidation.TestHelper;
using Herc.Pwa.Shared.Features.AssetDefinition;
class CreateAssetDefinitionRequestValidationTests : IntegrationTestBase
{
private CreateAssetDefinitionRequestVa... |
//namespace Lsquared.SmartHome.Zigbee.APP
//{
// public interface ICommandPayload
// {
// }
//} |
// Copyright (c) 2020 Sergey Ivonchik
//
// 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, modify, merge, publis... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dcomp.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.C... |
using MSKinectBodyTracker;
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 MSKinectMultipeTrackerGUI
{
public partial class Form1 : Form
... |
namespace HashedSet.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class IntersectTests
{
[TestMethod]
public void IntersectExpectedToWorkProperly()
{
var firstSet = new HashedSet<string>();
for (int i = 1; i <= 10; i++)
... |
// 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.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Testing;
using Xunit;
namespace Microsoft.AspNetCore.Razor.Des... |
using System;
namespace QuickGraph
{
/// <summary>
/// A directed graph where vertices and edges can be enumerated efficiently.
/// </summary>
/// <typeparam name="TVertex">type of the vertices</typeparam>
/// <typeparam name="TEdge">type of the edges</typeparam>
public interface IVertexAndEdg... |
// *** 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;
using System.Globalization;
using System.IO;
using System.Text;
using TheLog.Providers.Base;
using TheLog.Settings;
namespace TheLog {
public sealed class Log<TMessage, TColor> {
public static Log<TMessage, TColor> Get() {
if(Instance == null) {
throw new InvalidO... |
////////////////////////////////////////////////////////////////////
// _ooOoo_ //
// o8888888o //
// 88" . "88 //
// (| ^_^ |) ... |
//--- OBJECT WRITE BEGIN ---
new TSShapeConstructor(TubePrimitive_fbx) {
baseShape = "./TubePrimitive.fbx";
upAxis = "DEFAULT";
unit = "-1";
LODType = "TrailingNumber";
singleDetailSize = "0";
IgnoreNodeScale = "0";
AdjustCenter = "0";
AdjustFloor = "0";
forceUpdateMaterials = "0";
convert... |
using System.Collections.Generic;
namespace Ding.Offices.Handlers
{
/// <summary>
/// Excel 导入导出数据处理
/// </summary>
/// <typeparam name="T">实体类型</typeparam>
public interface IExcelDataHandler<T>
{
/// <summary>
/// 需要处理的字段,导入和导出统一处理了,减少书写的字段
/// </summary>
strin... |
/* Copyright (c) Bendyline LLC. All rights reserved. Licensed under the Apache License, Version 2.0.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. */
using System;
using System.Runtime.CompilerServices;
namespace BL
{
public delegate void ObjectEventHandler(object sender... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ManipulatorMod.SkillStates.BaseStates;
using RoR2;
using RoR2.Projectile;
using UnityEngine;
using UnityEngine.Networking;
namespace ManipulatorMod.SkillStates
{
public class ElementalOverload... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.