text stringlengths 1 932k |
|---|
using System.Data.Entity.ModelConfiguration;
using EA.Prsd.Core.DataAccess.Tests.Integration.Model.Domain;
namespace EA.Prsd.Core.DataAccess.Tests.Integration.Model.Mappings
{
internal class EntityWithEnumsMapping : EntityTypeConfiguration<EntityWithEnums>
{
public EntityWithEnumsMapping()
{
... |
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
namespace ReactiveUI.Tests
{
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Pomelo.Data.Faster
{
/// <summary>
/// Functions that make RMW behave as an atomic TryAdd operation, where Input is the value being added.
/// Return Status.NOTFOUND => TryAdd succeededed (item added)... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace FORCEBuild.UI.WinForm.Cluster
{
/// <summary>
/// 组织控件形成可变字体菜单栏
/// </summary>
/// <typeparam name="T"></typeparam>
public class CustomButtonCollection<T> where T : Contro... |
using System;
namespace DFC.App.JobProfiles.HowToBecome.Data.Models.DataModels
{
public class AdditionalInformation
{
public Guid Id { get; set; }
public string Link { get; set; }
public string Text { get; set; }
}
} |
////////////////////////////////////////////////////////////////////////////////
//
// @module Common Android Native Lib
// @author Osipov Stanislav (Stan's Assets)
// @support stans.assets@gmail.com
//
////////////////////////////////////////////////////////////////////////////////
using UnityEngine;
using Sys... |
using BotCore.Controller;
using BotCore.Util;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TwitchLib.Api;
using TwitchLib.Api.Core.Models.Undocumented.Chatters;
using TwitchLib.Client;
using TwitchLib.Client.Events;
using TwitchLib.Client.Models;
namespace TwitchBot
{
p... |
using System;
using System.Collections.Generic;
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Smf;
using Melanchall.DryWetMidi.Smf.Interaction;
namespace Melanchall.DryWetMidi.Tools
{
/// <summary>
/// Provides methods to randomize notes time.
/// </summary>
public static class Notes... |
using System;
using NUnit.Framework;
namespace EasyHttp.Specs.Helpers
{
public static class MSpecFlagAssertions
{
public static Enum ShouldHaveFlag(this Enum actual, Enum expected)
{
if (!actual.HasFlag(expected))
throw new AssertionException(string.Format("Should h... |
using System;
using MaterialDesignThemes.Wpf;
namespace Forge.Forms.Annotations
{
/// <summary>
/// Indicates that the property is a form field and allows specifying its details.
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public sealed class FieldAttribute : Attribute
{
... |
using System.Collections.Generic;
using Storagr.Shared.Data;
namespace Storagr.Store
{
public interface IStoreService
{
int BufferSize { get; }
long UsedSpace { get; }
long AvailableSpace { get; }
IStoreObject Object(string objectId);
IEnumerable<StoreObject> Objects()... |
namespace Bytewizer.TinyCLR.Ftp
{
internal partial class FtpSession
{
/// <summary>
/// Implements the <c>STRU</c> command.
/// </summary>
private void Stru()
{
switch (_context.Request.Argument)
{
case "F":
... |
using System;
namespace Firebend.AutoCrud.Core.Models.ClassGeneration
{
public class PropertySet
{
public string Name { get; set; }
public virtual Type Type { get; set; }
public object Value { get; set; }
public bool Override { get; set; }
}
public class PropertySet<... |
using AutoMapper;
using Jaxx.Images;
using Jaxx.VideoDb.Data.BusinessLogic;
using Jaxx.VideoDb.Data.BusinessModels;
using Jaxx.VideoDb.Data.Context;
using Jaxx.VideoDb.WebCore;
using Jaxx.VideoDb.WebCore.Infrastructure;
using Jaxx.VideoDb.WebCore.Models;
using Jaxx.VideoDb.WebCore.Services;
using Jaxx.WebApi.Shared;
u... |
@page
@model com.wechat.gorilla.Pages.HidePanelPageModel
@{
Layout = null;
}
aaa @Model.SwitchPanel |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using MSTestAdapter.PlatformServices.Tests.Services;
using MSTestAdapter.PlatformServices.Tests.Utilities;
[assembly: ReflectionUtilityTests.DummyAAttribu... |
using System;
#nullable enable
namespace EventStore.Client {
/// <summary>
/// Exception thrown when an append exceeds the maximum size set by the server.
/// </summary>
public class MaximumAppendSizeExceededException : Exception {
/// <summary>
/// Constructs a new <see cref="MaximumAppendSizeExceededExceptio... |
using System;
namespace Com.Evrencoskun.Tableview.Adapter
{
public interface IRowHeader
{
}
public interface IColumnHeader
{
}
public interface ICell
{
}
} |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace GameSpace.Data.Migrations
{
public partial class AppearanceTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_UsersTea... |
using Xendit.ApiClient.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Xendit.ApiClient.VirtualAccount
{
public interface IXenditVAClient
{
Task<IEnumerable<XenditVABank>> GetAvailableBanksAsync();
Task<XenditVACreateResponse> GetAsync(string vaId);
... |
/*
* 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... |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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 DatabaseSynchronizer.Resources;
using log4net;
using RunnerBLL.Interface;
using System.Reflection;
namespace DatabaseSynchronizer.Concrete
{
public class StudentSynchronizer : IRunnerObserver
{
private static readonly ILog logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace NekoKun
{
public partial class ScriptListEditorInsertDialog : UI.LynnForm
{
ScriptListFile scriptListFile;
public strin... |
using UnityEngine;
using System.Collections;
namespace BBGamelib{
#region mark CCEaseRateAction
/** Base class for Easing actions with rate parameters*/
public abstract class CCEaseRateAction : CCActionEase
{
protected float _rate;
public float rate{get{return _rate;} set{_rate=value;}}
/** Creates the a... |
/*
* 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... |
// Generated class v2.50.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Html
{
public partial class HtmlParagraph : NHtmlUnit.Html.HtmlElement, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.W3C.Dom.IElement
{... |
namespace SimpleAuth.Tests.Api.Discovery
{
using Moq;
using Shared.Models;
using Shared.Repositories;
using SimpleAuth.Api.Discovery;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
public class CreateDiscoveryDocumentationActionFixture
{
private readonly... |
namespace NetControl4BioMed.Helpers.InputModels
{
/// <summary>
/// Represents the input model for an analysis user.
/// </summary>
public class AnalysisUserInputModel
{
/// <summary>
/// Represents the analysis of the analysis user.
/// </summary>
public AnalysisInp... |
namespace OggVorbisEncoder.Setup.Templates.FloorBooks
{
public class Line128X17_3Sub1 : IStaticCodeBook
{
public int Dimensions = 1;
public byte[] LengthList = {
0, 4, 4, 4, 4, 4, 4, 4, 5, 3, 5, 3, 5, 4, 6, 4,
6, 4
};
public CodeBookMapType MapType = Co... |
// 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 Iot.Device.GrovePiDevice.Models;
using System;
using System.Collections.Generic;
using System.Threading;
nam... |
using System;
using System.Collections.Generic;
namespace Silky.Core.Collections
{
public interface ITypeList : ITypeList<object>
{
}
public interface ITypeList<in TBaseType> : IList<Type>
{
/// <summary>
/// Adds a type to list.
/// </summary>
/// <typeparam ... |
using System;
using System.Windows.Forms;
namespace Glyssen.Dialogs
{
public partial class TooManyUnexpectedQuotesFoundDlg : Form
{
public TooManyUnexpectedQuotesFoundDlg(string caption, double percentageOfQuotesFoundThatWereUnexpected)
{
InitializeComponent();
Text = caption;
m_lblOnlyNPercentOfExpe... |
/*
* 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.Text;
namespace HashTables
{
public class Node
{
public string Value { get; set; }
public string Key { get; set; }
public Node Next { get; set; }
}
} |
using System.Reflection;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("PagingWithEntityFramework")]
[... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace President_and_Roads
{
public class Heap<T>
{
private readonly List<T> data;
private readonly Comparison<T> compare;
public Heap(Comparison<T> compare)
{
this.compare = compare;
data... |
namespace CLUNL.ConsoleAppHelper
{
/// <summary>
/// A placeholder feature.
/// </summary>
public class DefaultBlankFeature : IFeature
{
/// <summary>
/// A blank feature
/// </summary>
/// <param name="Parameters"></param>
/// <param name="MainParameter"></p... |
using System.Collections.Generic;
using RethinkDb.Spec;
namespace RethinkDb.Newtonsoft
{
public class DatumReaderToken
{
public DatumReaderToken(Datum d)
{
this.Datum = d;
if (Datum.type == Datum.DatumType.R_OBJECT)
this.AssocPairs = Datum.r_object.GetEn... |
/*
* Copyright(c) 2021 Samsung Electronics Co., 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
using Guppi.Application.Attributes;
namespace Guppi.Application.Configurations
{
public class HueConfiguration : Configuration
{
uint _defaultLight = 0;
[Display("Default Light")]
public string DefaultLight
{
get => _defaultLight.ToString();
set
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dwrite_2.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtim... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Factory.Migrations
{
public partial class initial3 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
}
... |
using BeetleX.FastHttpApi;
using Bumblebee.Events;
using Bumblebee.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Bumblebee
{
[BeetleX.FastHttpApi.Controller(BaseUrl = "/__system/bumblebee")]
[DefaultJsonResultFilter]
[Acce... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Security;
using ... |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* author:
* createdTime:
*/
namespace ns
{
/// <summary>
///
/// </summary>
public class Test : MonoBehaviour
{
private void Awake()
{
XXXmanager.Instance.Func1();
... |
using System;
using System.Collections.Generic;
using AcreeBlog.Models.ViewModels.Home;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using AcreeBlog.Data.Query.Queries;
using AcreeBlog.Data.RepositoryCommon;
namespace AcreeBlog.Data.Query.EFCoreQueryHandlers
{
public class... |
using AutoMapper;
using JetBrains.Annotations;
using Litium.Accelerator.Constants;
using Litium.Runtime.AutoMapper;
using Litium.Web.Models;
using Litium.Web.Models.Websites;
using Litium.Accelerator.Builders;
using Litium.FieldFramework.FieldTypes;
namespace Litium.Accelerator.ViewModels.MyPages
{
public class O... |
using System.Collections.Generic;
using Ripple.WebSocketClient.Model.Transaction.TransactionTypes;
namespace Ripple.WebSocketClient.Model.Transaction.Interfaces
{
public interface ITransactionCommon
{
string Account { get; set; }
string AccountTxnID { get; set; }
Currency Fee { get; ... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ApplicationCore.Enums
{
public enum TypeFiles
{
Image,
Video,
Audio
}
} |
//
// Copyright (C) 2012 EllieWare
//
// All rights reserved
//
// www.EllieWare.com
//
using System;
using System.IO;
using NUnit.Framework;
namespace EllieWare.IO.Tests
{
[TestFixture]
public class DirectoryDeleteTests
{
#region SetUp/TearDown
[SetUp]
public void Setup()
{
}
[Tear... |
// 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.Data;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Data.S... |
using System;
namespace Benchmark.Fixture
{
public class DateTimeOffsetValueFixture : IValueFixture
{
private long _lastValue;
public Type Type { get; } = typeof(DateTimeOffset);
public object Generate()
{
_lastValue += 1000;
return DateTimeOffset.FromUn... |
using System.Collections.Generic;
using System.Linq;
namespace AsmResolver.DotNet
{
/// <summary>
/// Represents a member that can be referenced by a HasCustomAttribute coded index,
/// </summary>
public interface IHasCustomAttribute : IMetadataMember
{
/// <summary>
/// Gets a coll... |
// SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Iced.Intel;
namespace IcedFuzzer.Core {
public static class OpCodeTableIndexes {
public const int D3nowTable = 1;
public ... |
// <auto-generated>
// Copyright © 2018 FINBOURNE TECHNOLOGY LTD
//
// 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, ... |
using System.Threading;
using System.Threading.Tasks;
using AutoTest.Domain.StorageModels;
namespace AutoTest.Service.Interfaces
{
public interface ISignalRNotifier
{
Task NewTestRun(TestRun testRun, CancellationToken cancellationToken);
Task NewNotification(Notification eventId, CancellationT... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RFX4_ParticleCollisionGameObject : MonoBehaviour
{
public GameObject InstancedGO;
public float DestroyDelay = 5;
public GameObject RotationParent;
private List<ParticleCollisionEvent> collisionEvents = new Lis... |
using System;
using MediatR;
using Toss.Shared;
namespace Toss.Server.Models.Account
{
public class CurrentAccountDetailsQuery : IRequest<AccountViewModel>
{
}
} |
using System.Drawing;
using PanelAddinWizard.Properties;
namespace PanelAddinWizard
{
public class RootWizardVB : RootWizard
{
protected override Image HeaderImage
{
get { return Resources.IconVB.ToBitmap(); }
}
}
} |
using DNX.Helpers.Strings;
using NUnit.Framework;
using Shouldly;
namespace Test.DNX.Helpers.Strings
{
[TestFixture]
public class ArgumentParserTests
{
[TestCase("command value1 value2 --option optionValue", 5, "command|value1|value2|--option|optionValue")]
[TestCase("command value1 \"valu... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Nv
{
[Serializable]
[NvItemId(516)]
[Attributes(9)]
public class WcdmaRxLinVsTemp
{
[ElementsCount(8)]
[ElementType("int8")]
[Descripti... |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing
{
/// <summary>
/// Adds extensions that allow the application of padding operations to the <see cref... |
using BizHawk.Common;
using BizHawk.Emulation.Common;
using BizHawk.Emulation.Cores.Properties;
using BizHawk.Emulation.Cores.Waterbox;
using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
namespace BizHawk.Emulation.Cores.Consoles.Nintendo.Gameboy
{
[Core(CoreNames.SameBoy, "LIJI32", true... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine.Assertions;
using System.IO;
namespace Translation
{
/// <summary>
/// A factory for creating strings. Before use, ensure that the strings are loaded
/// before using.
/// </summary>
public cla... |
using System;
using ReactiveUI;
using Xamarin.Forms;
namespace ReactiveUI.XamForms
{
public class ReactiveContentPage<TViewModel> : ContentPage, IViewFor<TViewModel>
where TViewModel : class
{
/// <summary>
/// The ViewModel to display
/// </summary>
public TViewModel V... |
using System.ComponentModel.DataAnnotations;
namespace Roc.CMS.Organizations.Dto
{
public class UsersToOrganizationUnitInput
{
public long[] UserIds { get; set; }
[Range(1, long.MaxValue)]
public long OrganizationUnitId { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco
{
public class UserVariables : IVariableProvider
{
static readonly Dictionary<string, Func<string>> _variables = new Dictionary<string, Func<string>>();
... |
#pragma checksum "C:\Users\Irene Koech\Source\Repos\irene-koech\OnlineBookStore\OnlineBookStoreProject\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d6a5625cc8fb4476f348b0fe9041c550465d8bf9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.Ra... |
namespace BBT.StructureTools.Copy
{
using System.Collections.Generic;
using BBT.StructureTools.Copy.Marker;
using BBT.StructureTools.Copy.Operation;
/// <summary>
/// Interface to create a copy from a source model to a target.
/// Do not implement this class for a specific type, use the gener... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace IronAHK.Scripting
{
class MethodCollection : List<MethodInfo>
{
public ILMirror Mirror;
public MethodCollection()
{
Mirror = new ILMirror();
}
... |
using System;
namespace Cards.Core
{
/// <summary>
/// Defines a structure for a card with <typeparamref name="TValue"/> as underlying type.
/// </summary>
/// <typeparam name="TValue"> The underlying enumeration used for the card's value.</typeparam>
public interface ICard<TValue>
where T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Pop up window which displays any additional required or optional setup steps by the SDK
/// </summary>
public sealed class OneSignalSetupWindow : EditorWind... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DevExpress.Office.Utils {
#region ReplacementItem
public class ReplacementItem {
readonly int charIndex;
readonly string replaceWith;
public ReplacementItem(int charIndex, string replaceWith) {
th... |
// OData .NET Libraries ver. 5.6.3
// Copyright (c) Microsoft Corporation
// All rights reserved.
// MIT License
// 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 rest... |
/* SoundUtils
LICENSE - The MIT License (MIT)
Copyright (c) 2017 Tomona Nanase
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
us... |
//------------------------------------------------------------------------------
// <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 System;
using System.Collections.Generic;
namespace AltiumSorter.Utils
{
public class ItemComparer : IComparer<string>
{
internal static readonly ItemComparer Instance = new ItemComparer();
private const string PartsSeparator = ". ";
private ItemComparer() { }
public in... |
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("Oc... |
using cloudscribe.Core.Models;
using cloudscribe.Core.Storage.EFCore.Common;
using cloudscribe.Core.Storage.EFCore.pgsql;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions
{
... |
using NUnit.Framework;
namespace UnitTests.Issue1118 {
public class Issue1118_Fixture : Issue1118_Base {
public Issue1118_Fixture(string browser) : base(browser) {
}
[Test]
//[Ignore("Only needs to exist for Issue1118 Test")]
public void DoSomethingOnAWebPageWithSelenium()... |
/*
* 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 YiNing.UI.Config;
using System.Drawing;
using System.Windows.Forms;
namespace YiNing.UI.Controls
{
public class DarkTitle : Label
{
#region Constructor Region
public DarkTitle()
{ }
#endregion
#region Paint Region
protected override void OnPaint(PaintE... |
namespace System.Data
{
#if DNXCORE50
// Summary:
// Represents an open connection to a data source, and is implemented by .NET
// Framework data providers that access relational databases.
public interface IDbConnection : IDisposable
{
// Summary:
// Gets or sets the st... |
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("Ra... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Valeq.Runtime;
namespace Valeq.Reflection
{
public class CachingMemberProviderDecorator : IMemberProvider
{
private readonly IMemberProvider _inner;
private readonly ConcurrentDictionar... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FsmCodeBase
{
enum EFsmCheckPoints {
OnExit,
OnEnter,
OnUpdate,
OnEvent
}
class StateMachine
{
private BaseStateData mStateData;
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors
{
using System.Collections.Generic;
using System.Linq;
using Microsoft.DocAsCode.Common;
u... |
using OEP.Core.DomainModels.ExamModels;
using OEP.Core.DomainModels.SubCategoryModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OEP.Resources.Admin
{
public class ExamResource : BaseReso... |
using System;
using System.Text;
using System.Runtime.InteropServices;
#pragma warning disable 1591
namespace Microsoft.Diagnostics.Runtime.Interop
{
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("8c31e98c-983a-48a5-9016-6fe5d667a950")]
public interface IDebugSymbols
{
/* ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using TheChicagoProject.Entity;
namespace TheC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AttributeDemo
{
[AttributeUsage(AttributeTargets.Class)]
public class AuthorizeAttribute : Attribute
{
public Roles[] AllowedRoles { get; set; }
public AuthorizeAt... |
using System;
using System.Web.Http;
using System.Web.Http.Routing;
using System.Web.Routing;
namespace Persona.Configuration
{
/// <summary>
/// Managing Web APIs.
/// </summary>
/// <copyright file="/Configurations/WebApiApplication.cs">
/// The MIT License (MIT)
///
/// Copy... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.Linq;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Interfaces.Logging;
using BuildXL.Cache.ContentStore.Interfaces.Results;... |
using System;
using System.Collections.Generic;
using System.Linq;
using Content.Shared.Roles;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared.Preferences
{
[Serializable, NetSerializable]
public class HumanoidCharacterProfile : ICharacterProfile
{
privat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.