text stringlengths 1 932k |
|---|
using System.Collections.Generic;
using Nop.Plugin.Misc.Sms77.Domain;
namespace Nop.Plugin.Misc.Sms77.Services.Sms {
public interface ISmsService : IMessageService<SmsRecord> {
new void Log(SmsRecord record);
new IList<SmsRecord> GetAll();
}
} |
/*
* 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... |
public class Person
{
public string Name { get; set; }
public int Age { get; set; }
public Person()
{
Name = "No name";
Age = 1;
}
public Person(int age)
: this()
{
Age = age;
}
public Person(string name, int age)
: this(age)
{
N... |
using System;
using System.Collections.Generic;
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.Shapes;
using Rawr;
namespace Raw... |
/*
* 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.Generic;
using System.Reflection;
using System.Windows.Forms;
using ServerSideCarrousel.Admin;
using ServerSideCarrousel.Client;
using VideoOS.Platform;
using VideoOS.Platform.Admin;
using VideoOS.Platform.Client;
namespace ServerSideCarrousel
{
public class ServerSideCarrousel... |
using System;
namespace CustomActivator
{
public class CustomIntercepter : Csla.Server.IInterceptDataPortal
{
public void Complete(Csla.Server.InterceptArgs e)
{
Console.WriteLine("Complete");
}
public void Initialize(Csla.Server.InterceptArgs e)
{
Console.WriteLine("Initialize");... |
using System;
using DemoDemo.Core;
using System.Net;
namespace DemoDemo.iOS
{
public class ImageDataService: IImageDataService
{
public ImageDataService ()
{
}
// TODO
public byte[] DownloadData (string url)
{
var wc = new WebClient ();
return wc.DownloadData (url);
}
}
} |
// *** 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 FSMLib.Common;
using FSMLib.Predicates;
using FSMLib.SyntaxicAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace FSMLib.SyntaxicAnalysis.Predicates
{
[Serializable]
public class Sequence: Syntax... |
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("Sm... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Nature.Models;
usin... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.open.bpaas.service.query
/// </summary>
public class AlipayOpenBpaasServiceQueryRequest : IAopRequest<AlipayOpenBpaasServiceQueryResponse>
{
... |
namespace CleanArchitecture.Infrastructure.Persistence.Context;
using CleanArchitecture.Application.Common.Interfaces.Services;
using CleanArchitecture.Domain.Common;
using CleanArchitecture.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using System.Data;
using Sys... |
using System;
public class Pair<T1, T2>
{
}
public delegate Pair<T1, T2> Group<T1, T2>(T1 input);
public static class C
{
public static void Foo<TInput, TValue, TIntermediate> (Group<TInput, TValue> Pair,
Func<TValue, Group<TInput, TIntermediate>> selector)
{
}
}
public class E<TI>
{
public void Rep1<TV>(Gro... |
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 Bloom.Publish
{
public partial class SamplePrintNotification : Form
{
public SamplePrintNo... |
/*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... |
// 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.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAn... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mailjet.SimpleClient.Core.Interfaces
{
public interface IInlinedAttachment : IAttachment
{
string ContentId { get; set; }
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------------------... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
namespac... |
namespace EFCoreOptimizations
{
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
public class Program
{
public static void Main()
{
// SeedData();
// TooManyQueries();
... |
using UnityEngine;
#if UNITY_ANDROID
using Improbable.Gdk.Core;
using Improbable.Gdk.Mobile;
using Improbable.Gdk.Mobile.Android;
#endif
namespace Fps
{
public class AndroidWorkerConnector : MobileWorkerConnectorBase, ITileProvider
{
protected override async void Start()
{
Applicati... |
// /*
// Copyright 2008-2011 Alex Robson
//
// 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 o... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
namespace WordbookImpressLibrary.Storage
{
public class StorageContent<T> where T : class , new()
{
private T _Content;
public T Content
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel.DataTransfer;
namespace DysproseTwo.Services
{
public class ShareService
{
// Singleton Pattern with "Lazy"
private ShareService _shareService = nu... |
@model cloudscribe.Core.IdentityServerIntegration.Models.ClientItemViewModel
@using cloudscribe.Core.IdentityServerIntegration
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<CloudscribeIds4Resources> sr
@{
var propIndex = 0;
}
<div class="col-md-offset-2 col-md-10">
<h3>@sr["Custom Properti... |
using MyJetWallet.Sdk.Service;
using MyYamlParser;
namespace Service.Balances.Settings
{
public class SettingsModel
{
[YamlProperty("Balances.SeqServiceUrl")]
public string SeqServiceUrl { get; set; }
[YamlProperty("Balances.PostgresConnectionString")]
public string PostgresCo... |
#if !NETSTANDARD13
/*
* 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... |
// 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.
namespace Peachpie.Library.RegularExpressions.Tests
{
public static class RegexHelpers
{
public cons... |
//-----------------------------------------------------------------------
// <copyright file="WishListBaseJsonResult.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2016
// </copyright>
// <summary>Defines the WishListsBaseJsonResult class.</summary>
//-------------------------------... |
singleton Material(fr1tz_alux1_shapes_light_pointer_mat1)
{
mapTo = "fr1tz_alux1_shapes_light_pointer_mat1";
diffuseColor[0] = "0.996078 0.996078 0.996078 1";
specular[0] = "0.5 0.5 0.5 1";
specularPower[0] = "50";
doubleSided = "1";
translucentBlendOp = "LerpAlpha";
diffuseMap[0] = "content/fr1tz/... |
using Microsoft.Win32;
namespace TibiaScreenshotViewer
{
internal static class TibiaUtils
{
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
private const string KeyBase = @"Software\Microsoft\Windows\Curren... |
namespace NightlyCode.Twitch.Chat {
public class UserState {
public string Color { get; set; }
public string DisplayName { get; set; }
public int[] EmoteSets { get; set; }
public bool IsMod { get; set; }
public bool IsSubscriber { get; set; }
public bool IsTurbo { ge... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Security.Claims;
namespace PaninApi.Tests.WebApi.Unit.Handlers.ClassData
{
public class BarmanHandlerHandlerClaimsClassData : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
... |
/*
* 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.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using HandyControl.Data;
using HandyControlDemo.Data;
using HandyControlDemo.ViewModel;
namespace HandyControlDemo.UserControl
{
/// <summary>
/// 左侧主内容
/// </summary>
publi... |
using Playnite.SDK;
using Playnite.SDK.Models;
using Playnite.SDK.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
using HumbleKeys.Models;
namespace HumbleKeys
{
public class HumbleKeysLibrary : LibraryPlugin
{
#region === Constants ==========... |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SDKBrowser.Examples.ShadowControl.FeaturesCategory.KeyFeaturesExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class KeyFeatures : ContentView
{
public KeyFeatures()
{
InitializeComponent();
... |
using System.Collections.Generic;
using System.Linq;
namespace MyCouch
{
public static class PublicExtensions
{
public static object[] ToCouchKeys<T>(this IEnumerable<T> values)
{
return values.Select(v => (object)v).ToArray();
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using URSA;
public class RotatorSystemExample02 : ECSSystem {
internal override void OrderedUpdate() {
base.OrderedUpdate();
foreach (var component in Pool<RotatorComponent02>.Components) {
component.tran... |
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
//
// THE LETTER K (lighting)
//
// Copyright (C) 2015 Faust Logic, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining... |
using System;
namespace DevilDaggersCustomLeaderboards.Utils
{
public static class HashUtils
{
public static string ByteArrayToHexString(byte[] byteArray)
=> BitConverter.ToString(byteArray).Replace("-", string.Empty);
}
} |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<link href="~/static/css/reset.css" rel="stylesheet" />
<link href="~/static/css/easyui/default/easyui.css" rel="stylesheet" />
<link href="~/static/css/easyui/... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/gkehub/v1alpha2/membership.proto
// </auto-generated>
// Original file comments:
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... |
// 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 Mos.xApi.Actors;
using Mos.xApi.Objects;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Mos.xApi.Client
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using books.api.Models;
using books.api.Services;
using books.api.Services.Repositories;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNe... |
namespace FitnessSite.Infrastructure
{
using AutoMapper;
using FitnessSite.Data.Models;
using FitnessSite.Models.Carts;
using FitnessSite.Models.Products;
using FitnessSite.Models.Recipes;
using FitnessSite.Models.Sports;
using FitnessSite.Models.Trainers;
public class MappingProfile :... |
using System;
namespace Umbraco.Client
{
/// <summary>
/// A connection initialisation result, used to pull a part the results of a connection initialisation attempt.
/// Rather than throwing exceptions.
/// </summary>
public class UmbracoConnectionInitializationResult
{
internal Umbra... |
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
using Nethereum.Hex.HexConvertors.Extensions;
using Nethereum.RLP;
using Nethereum.Signer.Crypto;
namespace Nethereum.Signer
{
#if !DOTNET35
public abstract class EthExternalSignerBase : IEthExternalSigner
{
protected abstract Tas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using ParadoxNotion;
using ParadoxNotion.Serialization;
using ParadoxNotion.Serialization.FullSerializer;
using UnityEngine;
namespace NodeCanvas.Framework.Internal{
///Wraps a MethodInfo with the relevant BBVariables to be... |
using UnityEngine;
namespace DalLib.Math
{
public static class MathExtensions
{
/// <summary>
/// Casts a Vector2 to a Vector2Int
/// </summary>
/// <param name="v">Vector2 to cast</param>
/// <returns>Vector2Int</returns>
public static Vector2Int ToVector2Int(t... |
using System;
namespace WiktionaryCrawler.Models
{
/// <summary>
/// Description of dictionaryEntry.
/// </summary>
public class DictionaryEntry
{
public PartOfSpeech WordPartOfSpeech { get; set; }
public string Word { get; set; }
public string WordUrl { get; set; }
public string Definitions { get; set; ... |
#region Header
// Tamir Khason http://khason.net/
//
// Released under MS-PL : 6-Apr-09
#endregion Header
using System;
using System.Collections;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace PacketDotNet.Utils
{
/// <summary>Implements a 32-bits cyclic redundancy check (CRC)... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace AntData.ORM.Mapping
{
using Common;
using Data;
using Expressions;
using Extensions;
using Reflection;
public class ColumnDescriptor
{
public ColumnDescriptor(MappingSchema mappingSchema, ColumnAttribute columnAttribute, Membe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.BasePages;
using Umbraco.Core;
using Umbraco.Core.Models;
namespace Umbraco.Web.UI.Umbraco.Dialogs
{
public partial class ChangeDocType : UmbracoEnsuredPage
... |
using System.Collections.Generic;
using System;
using UnityEngine;
using XLua;
//配置的详细介绍请看Doc下《XLua的配置.doc》
public static class XLuaConfig
{
//lua中要使用到C#库的配置,比如C#标准库,或者Unity API,第三方库等。
[LuaCallCSharp]
public static List<Type> LuaCallCSharp = new List<Type>() {
typeof(System.Object),
... |
using ag.DbData.Abstraction;
using ag.DbData.Abstraction.Services;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.Odbc;
using System.Linq;
using System.Threading;
using System.Threadi... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
{
public class OriginatorIdent... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... |
using System.Collections.Generic;
using LeanCloud.Storage;
namespace LeanCloud.Realtime {
/// <summary>
/// LCIMAudioMessage is a local representation of audio message in LeanCloud.
/// </summary>
public class LCIMAudioMessage : LCIMFileMessage {
public double Duration {
get; priva... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
... |
// 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.Linq;
using System.Text;
using System.Xml.Linq;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensio... |
#if FALSE
using System.Collections.Generic;
namespace Protogame
{
public class ConfigurationAssetLoader : IAssetLoader
{
public bool CanLoad(IRawAsset data)
{
return data.GetProperty<string>("Loader") == typeof(ConfigurationAssetLoader).FullName;
}
public ... |
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using Svelto.Common;
namespace Svelto.ECS.DataStructures
{
public struct SharedNative<T> : IDisposable where T : struct, IDisposable
{
#if UNITY_COLLECTIONS || (UNITY_JOBS || UNITY_BURST)
[global::Unity.Collections.LowLevel.Un... |
using System;
using System.IO;
using ZKWeb.Localize;
using ZKWeb.Plugins.Shopping.Product.src.UIComponents.ProductMatchedDataAffectsBinders.Bases;
using ZKWeb.Server;
using ZKWeb.Storage;
using ZKWeb.Templating;
using ZKWebStandard.Ioc;
namespace ZKWeb.Plugins.Shopping.Product.src.UIComponents.ProductMatchedDataAffec... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using TerraFX.Interop.Windows;
namespace
TerraFX.Interop.WinRT;
public unsafe partial struct HSTRING_BUFFER : IComparable, IComparable<HSTRING_BUFFER>, IEqu... |
// -----------------------------------------------------------------------
// <copyright file="KVTest.cs" company="PlayFab Inc">
// Copyright 2015 PlayFab Inc.
// Copyright 2020 G-Research Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in ... |
namespace TagKit.Markup
{
/// <summary>
/// This class defines a set of common XML namespaces for sharing across multiple source files.
/// </summary>
internal static class TagReservedNs
{
internal const string NsXml = "http://www.w3.org/XML/1998/namespace";
internal const string Ns... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Server.HttpSys;
internal partial class UrlGroup
{
private static partial class Log
{
[LoggerMessa... |
// 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 RabbitMQ.Client.Exceptions;
using RabbitMQ.Client.Impl;
using Steeltoe.Messaging.RabbitMQ.Exceptions;
... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCMS.Common.Utilities;
using WCMS.Framework;
namespace WCMS.WebSystem.Apps.BranchLocator
{
public class MChapterAnnouncement
{
public JObject Content { ... |
namespace System.Web.Routing {
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[TypeForwardedFrom("System.Web.Routing, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
public abstract class RouteBase {
public abstract RouteData GetRouteData(HttpCont... |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... |
namespace PostCSSBeautifier.Helpers
{
internal class Logger
{
public static void Log(object message)
{
System.Diagnostics.Debug.WriteLine(message);
}
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microso... |
/*
* Copyright (c) Citrix Systems, Inc.
* 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 ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SendGrid.Helpers.Errors.Model
{
/// <summary>
/// Represents errors with status code 404
/// </summary>
public class NotFoundException : Exception
{
/// <summary>
/// Initializes a new instance of the <see... |
//
// Copyright (C) DataStax 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 la... |
// 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;
using System.Linq;
using System.Runtime.Caching;
using System.Security.Cryptography;
using System.Sec... |
using EventSourced.Persistence.EntityFramework.Entities;
using EventSourced.Persistence.EntityFramework.Helpers;
using Newtonsoft.Json;
namespace EventSourced.Persistence.EntityFramework.Mappers
{
public class TypeBasedProjectionEntityMapper : ITypeBasedProjectionEntityMapper
{
private readonly ITypeS... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
//
// MVVM-WPF-NetCore© Markup Binding Extensions.
// Copyright © 2013-2021 Alexander Paskhin /paskhin@hotmail.co.uk/ 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 Lic... |
using System.Threading.Tasks;
using Abp.Configuration;
using Abp.Zero.Configuration;
using BookStore.Authorization.Accounts.Dto;
using BookStore.Authorization.Users;
namespace BookStore.Authorization.Accounts
{
public class AccountAppService : BookStoreAppServiceBase, IAccountAppService
{
// from: http... |
using PublishSubscribe.Conceptual.Models;
using System;
namespace PublishSubscribe.Conceptual
{
class Program
{
static void Main(string[] args)
{
PubBasicDemo();
PubWithEventHandlerDemo();
}
private static void PubWithEventHandlerDemo()
{
... |
@model WebApplication.Models.AddPhoneNumberViewModel
@{
ViewBag.Title = "Phone Number";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Add a phone number</h4>
@Html.Valid... |
// <auto-generated>
//
// Generated by
// _ _
// /\/\ __ _ _ __ | |__ __ _ ___ ___ ___| |_
// / \ / _` | '_ \| '_ \ / _` / __/ __|/ _ \ __|
// / /\/\ \ (_| | | | | | | | (_| \__ \__ \ __/ |_
// \/ \/\__,_|_| |_|_| |_|\__,_|___/___/\___|\__| v 2.0.0
//
// <copyri... |
// 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;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.VisualStudio.LanguageServices.CSharp.CodeModel
{
internal ... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.Ent... |
namespace Kothar.MessageSystem.Interfaces
{
public interface IExceptionData
{
}
} |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Runtime;
using Ray.Core;
using Ray.Core.Client;
using Ray.Core.Messaging;
using Ray.Handler;... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using Microsoft.CodeAnalysis;
using System;
namespace TestHelper
{
/// <summary>
/// Location where the diagnostic appears, as determined by path, line number, and column number.
/// </summary>
public struct DiagnosticResultLocation
{
public DiagnosticResultLocation(string path, int line, int col... |
// Copyright (C) 2017 prototyped.cn All rights reserved.
// Distributed under the terms and conditions of the MIT License.
// See accompanying files LICENSE.
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Collections.Generic;
using System.Diagnostics;
namespace Network
{
i... |
using UnityEngine;
namespace FCS_DeepDriller.Model
{
public class LaserScript : MonoBehaviour
{
public Transform StartPoint;
public Transform EndPoint;
private LineRenderer laserLine;
// Start is called before the first frame update
void Start()
{
... |
// Copyright (c) 2017 Jan Pluskal, Viliam Letavay
//
//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 ... |
using System;
using Xunit;
using Version = Bugfree.OracleHospitality.Clients.PosParselets.Version;
namespace Bugfree.OracleHospitality.Clients.UnitTests.PosParselets
{
public class VersionTests
{
[Theory]
[InlineData("1")]
public void valid(string version)
{
var v =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.