text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using ... |
using ZimaHrm.Data.Entity;
using ZimaHrm.Data.Repository.Base;
namespace ZimaHrm.Data.Repository.Interfaces
{
public interface IAllowanceEmployee : IBaseRepository<AllowanceEmployee>
{
}
} |
using UnityEngine;
using System.Collections;
public class PickUpObjects : MonoBehaviour {
public Camera camera;
private RaycastHit hit;
bool carry = false;
public Transform seeker;
void Update () {
if(Vector3.Distance(transform.position,seeker.position) < 1){
carry = false;
end();
}
if(Input.G... |
/*
* 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... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.PrivateUri.Tests
{
/// <summary>
/// Summary description for UriRelativeResolution
/// </summary>
public class UriRelativeResolutionTes... |
// 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 UnusedMember.Global
// ReSharper... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SmartMirror.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Geolocation;
namespace SmartMirror.Data
{
public class LocationService
{... |
using GVFS.FunctionalTests.FileSystemRunners;
using GVFS.Tests.Should;
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
namespace GVFS.FunctionalTests.Tests.EnlistmentPerFixture
{
[TestFixture]
public class StatusVerbTests : TestsWithEnlistmentPerFixture
{
[TestCase]
... |
namespace Opserver.Data.PagerDuty
{
public static class PagerDutyRoles
{
public const string Admin = nameof(PagerDutyModule) + ":" + nameof(Admin);
public const string Viewer = nameof(PagerDutyModule) + ":" + nameof(Viewer);
}
} |
using System;
using System.Linq;
namespace SelectExemples
{
class Program
{
static void Main(string[] args)
{
int[] array = new int[5] { 1, 2, 3, 4, 5 };
int[] arrayBy5 = array.Select(x => x*5).ToArray(); //change all the elements in the array
//also we can... |
namespace OpenSoftware.DgmlTools.Builders
{
public abstract class CategoryBuilder : Builder
{
protected CategoryBuilder(Type type)
: base(type)
{
}
public abstract IEnumerable<Category> Build(object node);
}
public class CategoriesBuilder<T> : CategoryBuilde... |
// ScintillaNET
// Copyright(c) 2017 Jacob Slusser
// Licensed under the MIT license.
// https://github.com/jacobslusser/ScintillaNET/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScintillaNET
{
/// <summary>
/// The caret visual style.
... |
// UiSon, by Cameron Gale 2022
using System.Collections.Generic;
namespace UiSon.Element
{
/// <summary>
/// Data structure with two way lookup
/// </summary>
/// <typeparam name="T1">The first value's type.</typeparam>
/// <typeparam name="T2">The second value's type.</typeparam>
public clas... |
/*
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... |
using System;
using System.Diagnostics;
using System.Net.Http;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Net.Http.Server;
namespace MusicStore
{
public static class Program
{
public static void Main(string[] args)
{
var totalTime =... |
using OSVersionHelper;
namespace ICSharpCode.ILSpy
{
// The Store package is ever only built for net472
public static class StorePackageHelper
{
public static bool HasPackageIdentity {
get {
#if NET472
return WindowsVersionHelper.HasPackageIdentity;
#endif
return false;
}
}
public static string... |
using Ms.IoT.LunchBag.Camera.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation.Diagnostics;
using ... |
using System;
using System.ComponentModel.DataAnnotations;
namespace IdentityServer4.Admin.Api.Dtos.Configuration
{
public class ClientSecretListDto
{
[Required]
public string Type { get; set; } = "SharedSecret";
public int Id { get; set; }
public string Description { get; se... |
/* Copyright (c) 2013 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,... |
using System;
using Robust.Shared.Serialization;
namespace Content.Shared.Preferences.Appearance
{
public enum HumanoidVisualLayers
{
Hair,
FacialHair,
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using DevExpress.XtraEditors;
using bv.common.Enums;
using bv.model.Model.Core;
using bv.common.Resources.Images;
using DevExpress.XtraBars;
using bv.winclient.BasePanel;
using DevExpress.Utils;
namespace bv.winclient.ActionPanel
{
/// <... |
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace DapperInfrastructure.DapperWrapper.Encrypt
{
/// <summary>
/// 数据库链接加密
/// </summary>
public static class DesCode
{
// KEY 8位
private const string CodeKey = "lovelove";
private ... |
namespace FakeItEasy.Tests
{
using System;
using FakeItEasy.Core;
using FakeItEasy.Tests.TestHelpers;
using FluentAssertions;
using Xunit;
public class RaiseTests
{
private readonly IFoo foo;
private object sender;
private EventArgs eventArguments;
public Ra... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
using System.Xml.Serialization;
using Bloom.Book;
using Bloom.ToPalaso;
using L10NSharp;
using SIL.Reporting;
u... |
using Newtonsoft.Json;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace AspNetCore.Tools.Session.NewtonsoftJson.Session
{
/// <summary>
/// Implementation of the <see cref="SessionValueSerializer{T}"/> for Newtonsoft.Json.
/// </summary>
/// <typeparam name="T">Entity type.</typepar... |
using System.Collections.Generic;
using CryptoExchange.Net.Converters;
using Binance.Net.Enums;
namespace Binance.Net.Converters
{
internal class IncomeTypeConverter: BaseConverter<IncomeType>
{
public IncomeTypeConverter(): this(true) { }
public IncomeTypeConverter(bool quotes) : base(quotes)... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Tools;
using Xunit;
namespace System.Numerics.Tests
{
public class powTest
{
private static int s_samples = 10;
private static Random s_r... |
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace ImGuiNET
{
[StructLayout(LayoutKind.Explicit)]
public unsafe partial struct ImGuiStyleMod
{
[FieldOffset(0)]
public ImGuiStyleVar VarIdx;
[F... |
/*******************************************************************************
* Copyright 2012-2019 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... |
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.Interfaces;
using SFA.DAS.EmployerAccounts.Queries.GetContent;
using SFA.DAS.NLog.Logger;
using SFA.DAS.Testing.AutoFixture;
using SFA.DAS.Validation;
namespace SFA.DAS.Employer... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Banking.AU.Common.Validation
{
public interface IValidationError<T>
{
T Item { get; set; }
string MemberName { get; set; }
string Message { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using SmartSql.Bulk;
using SmartSql.Bulk.MySql;
using SmartSql.DataSource;
using SmartSql.Test.Entities;
using Xunit;
namespace SmartSql.Test.Unit.Bulk
{
public class MySqlTest
{
[Fact]
public void Insert()
{
... |
using System;
using System.Linq;
using System.Collections.Generic;
using Functional.Test;
namespace Functional.Implementation {
public static partial class F {
/// <summary>Given a sequence and a predicate, indicates if any elemnt passes the predicate</summary><returns>true if any of the elements pass the... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Billboard : MonoBehaviour
{
public Transform cam;
void LateUpdate()
{
transform.LookAt(transform.position + cam.forward);
}
} |
#if ODIN_INSPECTOR
using System.Collections.Generic;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using UniModules.Editor;
using UniModules.UniGame.AddressableTools.Runtime.SpriteAtlases;
using UnityEditor;
using UnityEngine;
namespace UniModules.UniGame.CoreModules.UniGame.AddressableTools.Editor... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace NoSQL.GenericRepository.Model
{
public class Book
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public ObjectId Id { get; set; }
public string Name { get; set; }
public decim... |
using System;
using System.Collections.Generic;
using UnityEngine;
using Image = UnityEngine.Texture2D;
using uFont = UnityEngine.Font;
[Serializable]
public class AppResources
{
public List<uFont> Fonts;
public ReservedResources Images;
/// <summary>
/// System resources.
/// </summary>
... |
namespace CG.Web.MegaApiClient
{
using System;
public class ApiException : Exception
{
internal ApiException(ApiResultCode apiResultCode)
{
this.ApiResultCode = apiResultCode;
}
public ApiResultCode ApiResultCode { get; private set; }
public override string Message
{
get { ... |
using Content.Shared.Morgue;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Client.Morgue.Visualizers
{
public sealed class MorgueVisualizer : AppearanceVisualizer
{
[DataField("state_open")]
private str... |
// -----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Screenmedia">
// Copyright (c) Screenmedia 2018. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Resources;
using ... |
// 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.CodeAnalysis;
namespace System.Security.Cryptography
{
// Strongly typed string representing the name of a hash algorithm.
// Open ended to allow ex... |
/**
* CSSastrawi is licensed under The MIT License (MIT)
*
* Copyright (c) 2017 Muhammad Reza Irvanda
*
* 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 w... |
// Copyright (c) Microsoft Corporation. All rights reserved.
namespace Microsoft.Teams.Samples.MeetingSigning.Domain.Documents
{
using Microsoft.Teams.Samples.MeetingSigning.Domain.Models;
/// <summary>
/// Service to manage requests related to Documents
/// </summary>
public interface IDocumentS... |
using Microsoft.Diagnostics.Runtime.Utilities;
using System;
using System.Collections.Immutable;
namespace Microsoft.Diagnostics.Runtime.Implementation
{
internal class ElfModuleInfo : ModuleInfo
{
private readonly IDataReader _reader;
private readonly ElfFile? _elf;
private object? _b... |
#pragma checksum "..\..\..\..\Views\Pages\About.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "36F8708C6A3EEF447AFD79CECD3C4659"
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.18444
//
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WebAPI2PostManWebHost")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assemb... |
using Microsoft.EntityFrameworkCore;
namespace PooLandApp.Data;
public partial class PooLandDbContext : DbContext
{
public PooLandDbContext()
{
}
public PooLandDbContext(DbContextOptions<PooLandDbContext> options)
: base(options)
{
}
public virtual DbSet<Poodatum> Poodata { get; ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("a")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyComp... |
using UnityEngine;
using System.Collections;
public class FPSDisplay : MonoBehaviour
{
float deltaTime = 0.0f;
void Update()
{
deltaTime += (Time.deltaTime - deltaTime) * 0.1f;
}
void OnGUI()
{
if (Time.deltaTime != 0) {
int w = Screen.width, h = Screen.height;
GUIStyle style = new GUIStyle(); ... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace Microsoft.Test.Acceptanc... |
using UnityEngine;
/// <summary>
/// Implements the tower placement location selector.
/// </summary>
public class TowerPlacer : MonoBehaviour
{
/// <summary>
/// A reference to the tower prefab that is to be placed.
/// </summary>
public GameObject TowerObject;
private GameObject newTower;
... |
/********************************************************************
created: 2021-5-17 15:46
file base: Singleton
author: Bing Lau
purpose: 非MonoBehaviour单例基类
*********************************************************************/
using System;
public abstract class Singleton<T> where T : class, new()
... |
using System;
using BE.CQRS.Domain.DomainObjects;
using NetCoreConsoleSample.Domain.Commands;
using NetCoreConsoleSample.Domain.Events;
namespace NetCoreConsoleSample.Domain
{
public sealed class Customer : DomainObjectBase
{
public Customer(string id) : base(id, null)
{
}
pub... |
using System.Globalization;
using System.Runtime.Serialization;
namespace WowSharp.BattleNet.Api.Wow.Community.Wow
{
/// <summary>
/// Challenge mode group member character information (this is the same info as Character class),
/// however rather than returning guild member as guild info, this API r... |
using System;
namespace FutbolPlay.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} |
using System;
namespace Legacy.EffectEngine
{
public enum EDelayType
{
ON_FRAME_END,
ON_FIXED_DELAY,
ON_FX_FINISH,
ON_FX_HIT
}
} |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.RevenueManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepTh... |
// *** 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... |
// Copyright 2021 Maple512 and Contributors
//
// 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... |
namespace Frank.Scheduler.Models.Messages
{
public class MessageException
{
public string? Message { get; set; }
public string? StackTrace { get; set; }
public string? Site { get; set; }
}
} |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Microsoft.Design", "CA1014:MarkAssemblie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Day6_ExaminationSystem_Final
{
abstract class Question
{
string header;
string body;
int mark;
public string Header { get => header; set => header = va... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Senai.Ekips.WebApi.Domains;
using Senai.... |
using Confuser.Core;
using Confuser.Core.Project;
using ConfuserEx.ViewModel;
using GalaSoft.MvvmLight.Command;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows;
using System.Windows.Media;
namespace ConfuserEx.Views
{
public partial class ProjectRuleView : Window
{
readonly... |
namespace AspNetCore.IdentityServer.Mongo.Entities
{
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using MongoDB.Bson.Serialization.Attributes;
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public class ApiResourceScope
{
private string DebuggerDisp... |
namespace Telerik.Sitefinity.Frontend.Forms.Mvc.Models
{
/// <summary>
/// This class represents the view model of the Marketo settings.
/// </summary>
public class MarketoSettings
{
/// <summary>
/// Gets or sets value indicating whether to sync form fields to lead fields.
... |
using UnrealBuildTool;
using System.IO;
using System;
public class BluLoader : ModuleRules
{
public BluLoader(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"Engine"
});
}
} |
#region License
// Copyright (c) 2010-2016, Mark Final
// All rights reserved.
//
// 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 retain the above copyright notice, this
// ... |
namespace SystemDot.Specifications.ioc.TestTypes
{
class TestComponentWithParameters : ITestComponentWithParameters
{
public ITestComponent FirstParameter;
public IAnotherTestComponent SecondParameter;
public TestComponentWithParameters(ITestComponent firstParameter, IAnotherTestCompone... |
// 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 Xunit;
using System;
using System.Reflection;
using System.Collections.Generic;
#pragma warning disable 0414
... |
using System;
using SQLite.Net;
namespace Company.Welcome.Entities.GuestVisitor
{
public class VisitorEntity
{
[SQLite.Net.Attributes.PrimaryKey]
public Guid Id { get; set; }
public string Name { get; set; }
public string Company { get; set; }
public int Arrival { get; ... |
@using ABP.TPLMS.Web.Startup
@model ABP.TPLMS.Web.Models.Supplier.SupplierListViewModel
@{
ViewData["Title"] = PageNames.Supplier;
}
@section scripts {
<script src="~/view-resources/Views/Supplier/Index.js" asp-append-version="true"></script> }
<div class="row clearfix">
<div class="col-lg-12 col-... |
namespace NativeCode.Mobile.Core.Platform
{
public enum StorageState
{
Unknown = 0,
Mounted = 1,
Unmounted = 2
}
} |
namespace Sirius.CodeAnalysis.Syntax;
public sealed class UnaryExpressionSyntax : ExpressionSyntax
{
public SyntaxToken OperatorToken { get; }
public ExpressionSyntax Operand { get; }
public UnaryExpressionSyntax(SyntaxToken operatorToken, ExpressionSyntax operand)
{
OperatorToken = operator... |
using RpcHelper;
namespace HttpApiDocHelper.Error
{
internal class ProErrorMsg
{
public ProErrorMsg()
{
}
public ProErrorMsg(string errorCode)
{
if (ErrorManage.GetErrorMsg(errorCode, out ErrorMsg ... |
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("Co... |
using AutoMapper;
namespace Lunchorder.Api.Configuration.Mapper
{
public class MenuMap : Profile
{
public MenuMap()
{
CreateMap<Domain.Entities.DocumentDb.Menu, Domain.Dtos.Menu>();
CreateMap<Domain.Dtos.Menu, Domain.Entities.DocumentDb.Menu>()
.ForMembe... |
using MapWinGIS;
using ResTB.Map.Style;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ResTB.Map.Layer
{
class WmsLayerLayer : BaseLayer, ILayer
{
public WmsLayer WmsLayerObj { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Core.LinqExtensions
{
/// <summary>
/// Extend a collection to allow paging
/// </summary>
public static class PageUtilities
{
/// <summary>
/// Extend a collection to allow ... |
@model ListContentsViewModel
@using OrchardCore.ContentManagement;
@using OrchardCore.Contents.ViewModels;
@inject IContentManager ContentManager
@{
var contentTypeDisplayName = Model.Options.ContentTypeOptions.Find(x => x.Value == Model.Options.SelectedContentType && x.Value != null)?.Text;
var pageTitle = T[... |
/*
* Selling Partner API for Merchant Fulfillment
*
* The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
*
* OpenAPI spec version: v0
*
* Generated by: https://github.com/swagger-a... |
// <copyright file="AnonAuthManager.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace SocialPlus.Server.Managers
{
using System.Collections.Generic;
using System.Security.Principal;
using System.Threading.Tasks;
using SocialPlus.Logging;
using Soc... |
using CasCap.Models;
using CasCap.Services;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace CasCap
{
class Program
{
stati... |
using System.Collections.Generic;
namespace HomeCtl.Kinds.Resources
{
public class ResourceDefinition : ResourceFieldCollection
{
public ResourceDefinition(IList<ResourceField> fields) : base(fields)
{
}
}
} |
// 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.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using An... |
using UnityEngine;
using System.Collections;
public class EnemySpawn : MonoBehaviour
{
public float cooldownDuration;
public int numberBySpawn;
public bool onSite;
Vector2 min;
Vector2 max;
float cooldown;
void Start()
{
if (!onSite) {
Transform bottomLeft = trans... |
using Blog.Application.Common.Interfaces;
using MediatR.Pipeline;
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
namespace Blog.Application.Common.Behaviours
{
public class RequestLogger<TRequest> : IRequestPreProcessor<TRequest>
{
private readonly ILogger lo... |
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable StringLiteralTypo
using ManagedIrbis;
using ManagedIrbis.Pft.Infrastructure;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.ManagedIrbis.Pft.Infrastructure.Unifors
{... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Org.BouncyCastle.Crypto.Digests;
namespace PortableNoise.Engine.BouncyCastle
{
/// <summary>
///
/// </summary>
public class BCSha512 : Sha512
{
readonly Sha512Digest hash;
... |
namespace ApiGateway.Models
{
public class RabbitMqManagementOptions
{
public const string Position = "RabbitMqManagement";
public string BaseAddress { get; set; }
public string Username { get; set; }
public string Password { get; set; }
}
} |
using System;
using ApprovalTests;
using Microsoft.EntityFrameworkCore;
using Xunit;
using Xunit.Abstractions;
namespace EfCore.InMemoryHelpers.Test
{
public class ConcurrencyTestWithCompositeKey : TestBase
{
public ConcurrencyTestWithCompositeKey(ITestOutputHelper output)
:
ba... |
// CS0672: Member `C.Method()' overrides obsolete member `BaseClass.Method()'. Add the Obsolete attribute to `C.Method()'
// Line: 14
// Compiler options: -warnaserror
using System;
class BaseClass {
[Obsolete]
protected virtual void Method () {}
}
class C: BaseClass
{
protected override void... |
// <copyright file="AmazonPurchaseNullObjectTests.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// 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://w... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkhrbrain_1_0.Models
{
public class SyncDataResponseBody : TeaModel {
[NameInMap("success")]
[Validation(Required=false)]
pub... |
//-----------------------------------------------------------------------
// <copyright file="JsonReferenceVisitorBase.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico S... |
using CleanArchitecture.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CleanArchitecture.DataAccess.Users
{
public class UserRepository : IUserRepository
{
private readonly Dictionary<string, User> data = new Dictionary<string, User>();
public User GetB... |
using AgileConfig.Server.Data.Entity;
using AgileConfig.Server.IService;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AgileConfig.Server.Common;
using AgileConfig.Server.Data.Freesql;
namespace AgileConfig.Server.Service
{
public class SettingService : ISettingService
{
... |
using UnityEngine;
namespace LandMassGeneration
{
/// <summary>
/// Refactoring PerlinNoise fucntion call as Noise class, so that I can add more tunes variables to play around such, octaves, lacunarity, persistence, offset, seed,height multiplier, width and height.
/// As part as my research for better u... |
using com.mobius.software.windows.iotbroker.amqp.codes;
using com.mobius.software.windows.iotbroker.mqtt.exceptions;
/**
* Mobius Software LTD
* Copyright 2015-2018, Mobius Software LTD
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.