text stringlengths 1 932k |
|---|
using Ed.Bannerboard.UI.Models;
namespace Ed.Bannerboard.UI.Logic
{
public static class MappingExtensions
{
public static List<WidgetLayout> ToWidgetLayout(this List<WidgetComponent> source)
{
return source
.Select(w => new WidgetLayout
{
... |
/*
* author:symbolspace
* e-mail:symbolspace@outlook.com
*/
namespace Symbol.Data.SQLite {
/// <summary>
/// SQLite转换器
/// </summary>
public class SQLiteConvert {
#region fields
private FastWrapper _wrapper;
private static readonly FastWrapper[] _types = new FastWrapper... |
#region File Description
//-----------------------------------------------------------------------------
// Particle.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#re... |
// <copyright file="DeviceServicesPage.xaml.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------------------------------------------------------------------
using BluetoothLEExplorer.Models;
using System;
using Windows.UI... |
using FastSQL.Core;
using FastSQL.Sync.Core;
using FastSQL.Sync.Core.Enums;
using FastSQL.Sync.Core.Models;
using FastSQL.Sync.Core.Repositories;
using FastSQL.Sync.Core.Workflows;
using Serilog;
using System;
using WorkflowCore.Interface;
namespace FastSQL.Sync.Workflow.Workflows
{
public abstract class BaseWork... |
using System;
namespace WindowsApplication1
{
internal class globleVariables
{
public struct DAQ_GLOBLE_SETTING
{
public uint g_ReadDataCount;
public uint g_DisplayDataCount;
public uint g_PixarNum4ChartZone;
public double g_dataNumPerPixar;
}
public struct RefreshList
{
public bool Bech... |
using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace MovieDB.Api.Entities
{
[Owned]
public class RefreshToken
{
[Key]
public int Id { get; set; }
public Account Account { get; set; }
public string Token { get; set; }
... |
// 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.
//
//
//
// Contents: Text formatting API
//
// Spec: Text Formatting API.doc
//
//
using System;
using Sy... |
@page
@model Cli.Web.UI.Pages.MyFoos.DetailsModel
@{
ViewData["Title"] = "Details";
}
<h1>Details</h1> |
using System;
using System.Collections.Generic;
using Gum.Collections;
using System.Text;
using System.Linq;
namespace Gum.IR1.Runtime
{
public partial class Evaluator
{
public abstract class Value
{
public abstract void SetValue(Value fromValue);
public abstract Value ... |
using System;
using System.Data;
using Axiom.Configuration;
using Axiom.Core;
using Axiom.Graphics;
using Tao.OpenGl;
using Tao.Sdl;
namespace Axiom.RenderSystems.OpenGL
{
/// <summary>
/// Summary description for SdlGLSupport.
/// </summary>
public class GLSupport : BaseGLSupport {
public GLSupport() : base() ... |
// *** 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 (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Tournament.... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace Zeds.Pawns
{
public class Creature
{
public bool IsAlive;
public bool IsSpawned;
public float CurrentHealth;
public float MaxHealth;
public string ID;
... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Json
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
u... |
//-----------------------------------------------------------------------
// <copyright file="MainClass.cs" company="Sully">
// Copyright (c) Johnathon Sullinger. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace MudDesigner.MudServer.Windows
{... |
using System;
using System.IO;
using System.Text;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Globalization;
using System.Threading;
using System.Linq;
using CrystalDecisions.Web;
using CrystalDecisions.Shared;
using CrystalDe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AssemblyDefender.Net.Fusion.UnmanagedApi
{
public enum ASM_NAME_PROPERTY : int
{
PUBLIC_KEY = 0,
PUBLIC_KEY_TOKEN = 1,
HASH_VALUE = 2,
NAME = 3,
MAJOR_VERSION = 4,
MINOR_VERSION = 5,
BUILD_NUMBER = 6,
REV... |
using System.Collections.Generic;
using System.Linq;
using DRMFSS.BLL.Interfaces;
using DRMFSS.BLL.MetaModels;
using System.ComponentModel.DataAnnotations;
namespace DRMFSS.BLL.Interfaces
{
/// <summary>
///
/// </summary>
public interface IPeriodRepository : IGenericRepository<Period>,IRepository<P... |
using System;
using UnityEngine;
namespace TowerDefense
{
public class WizardMagicStarvation : WizardMagic
{
public int Amount = -1;
protected override void Tick()
{
PlayerController.Instance.AddFood(Amount, transform);
}
}
} |
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(RawImage))]
[RequireComponent(typeof(Mask))]
public class FadeUI : MonoBehaviour, IFade
{
[SerializeField, Range(0, 1)]
private float cutoutRange;
public float Range
{
get { return cutoutRange; }
set
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
namespace TicTacToe
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
}
}... |
using System;
using System.Threading;
using blockchain;
namespace EpicoinGraphics
{
partial class Miner
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any res... |
using CosmosStack.Sniffers.FileTypeSniffers.Registering;
// ReSharper disable InconsistentNaming
namespace CosmosStack.Sniffers.FileTypeSniffers.Library
{
[FileTypeExtensionNames("vob")]
[FileTypeHex("00 00 01 BA")]
public class _Vob_Fingerprint : IFileTypeFingerprint { }
} |
using Windows.Storage.Streams;
namespace Podcasts
{
public class StackData
{
public string Data { get; set; }
public string FiltersData { get; set; }
public int ID { get; set; }
public string ScrollPosition { get; set; }
public int[] IDs { get; set; }
public int... |
using Slipe.MtaDefinitions;
using Slipe.Server.Peds;
using Slipe.Shared.Elements;
using System;
using System.Collections.Generic;
using System.Text;
namespace Slipe.Server.IO
{
public class MtaConsole
{
internal MtaConsole()
{
}
public void WriteLine(string line, Player playe... |
using System;
using System.Collections;
using System.Linq;
using System.Threading.Tasks;
using Chill;
using FluentAssertions.Equivalency;
using FluentAssertions.Equivalency.Steps;
using FluentAssertions.Execution;
using FluentAssertions.Formatting;
using Xunit;
using Xunit.Sdk;
namespace FluentAssertions.Specs
{
... |
using System;
using System.Collections.Generic;
using Paratext.Data.Repository;
namespace SIL.XForge.Scripture.Services
{
public interface ISharingLogicWrapper
{
bool ShareChanges(List<SharedProject> sharedProjects, SharedRepositorySource source,
out List<SendReceiveResult> results, IList<S... |
using System;
namespace Ray.Core.Exceptions
{
public class UnfindSnapshotHandlerException : Exception
{
public UnfindSnapshotHandlerException(Type grainType) : base(grainType.FullName)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace osuTools.Exceptions
{
/// <summary>
/// 对象等待失败时抛出的异常
/// </summary>
public class ObjectWaitException:Exception
{
/// <summary>
/// 用指定的错误消息初始化ObjectWaitExce... |
using System;
using System.IO;
using System.Linq;
using System.Threading;
using Grpc.Core;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dep... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WingtipToys.Models;
using WingtipToys.Logic;
using System.Collections.Specialized;
using System.Collections;
using System.Web.ModelBinding;
namespace WingtipToys
{
public ... |
using System;
using Codeplex.Data;
using System.Threading.Tasks;
using RippleLibSharp.Binary;
using RippleLibSharp.Util;
using RippleLibSharp.Keys;
using RippleLibSharp.Network;
using RippleLibSharp.Result;
using RippleLibSharp.Transactions;
using System.Text;
namespace RippleLibSharp.Transactions.TxTypes
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Documents;
namespace BlueYonder.Companion.Client.Common
{
/// <summary>
/// Wrappe... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Annytab.Doxservr.Client.V1
{
/// <summary>
/// This interface represent a doxservr accounts client
/// </summary>
public interface IDoxservrAccountsClient
{
/// <summary>
/// Submit an account advise
... |
namespace CommunityToolkit.Maui.Behaviors;
/// <summary>
/// Container object for the event arguments that are provided when the <see cref="MaxLengthReachedBehavior.MaxLengthReached"/> event is triggered.
/// </summary>
public class MaxLengthReachedEventArgs : EventArgs
{
/// <summary>
/// The new text value as det... |
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
... |
using System;
namespace M5x.DEC.Jobs.Commands
{
public record Schedule<TJob, TIdentity> : SchedulerCommand<TJob, TIdentity>
where TJob : IJob
where TIdentity : IJobId
{
public Schedule(
TIdentity jobId,
TJob job,
DateTime triggerDate,
obje... |
namespace Schema.NET
{
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// Event type: Exhibition event, e.g. at a museum, library, archive, tradeshow, ...
/// </summary>
public partial interface IExhibitionEvent : IEvent
{
}
/// <summary... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using UnityEngine;
namespace Vuforia{
public class MultiTargetTrackableEventHandler : MonoBehaviour,
ITrackableEventHandler
{
public event System.Action MultiTargetFound;
private TrackableBehaviour mTrackableBehaviour;
// private bool m_TrackableDetectedForFirstTime;
// Use this for initia... |
using System;
using System.Collections.Generic;
using System.Xml;
using RomanticWeb.Model;
using RomanticWeb.Vocabularies;
namespace RomanticWeb.Converters
{
/// <summary>Converts xsd:date and xsd:datetime to <see cref="DateTime"/>.</summary>
public class DateTimeConverter : XsdConverterBase
{
/// ... |
// 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QuantConnect.Algorithm.Examples;
using QuantConnect.Data.Market;
using QuantConnect.Indicators;
using QuantConnect.Orders;
namespace QuantConnect.Algorithm.CSharp
{
public class TripleMovingAv... |
using MyNoSqlServer.Abstractions;
using MyNoSqlServer.DataReader;
namespace Assets.Domain.MyNoSql
{
public static class SetupMyNoSqlAssetService
{
public static string AssetsTableName = "assetservice-assets";
public static string AssetPairsTableName = "assetservice-asseppairs";
public... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace RequestService.Repo.Migrations
{
public partial class AddRequestType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<byte>(
name: "RequestType",
... |
/*
* 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 "... |
//-----------------------------------------------------------------------
// <copyright file="OrderDetailCollection.Designer.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary></summary>
// <remarks>Generated file.... |
//------------------------------------------------------------------------------
// <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;
namespace Beyova
{
/// <summary>
///
/// </summary>
public static partial class CharactorStandardization
{
/// <summary>
///
/// </summary>
/// <param name="potentialDoubleByteSymbol">The potential double byte symbol.</param>
/// <returns></ret... |
#region Copyright (c) 2006-2014 nHydrate.org, All Rights Reserved
// -------------------------------------------------------------------------- *
// NHYDRATE.ORG *
// Copyright (c) 2006-2014 All Rights reserved *
// ... |
using System.Web.Script.Serialization;
namespace AspComet
{
public class DefaultSerializer : ISerializer
{
readonly JavaScriptSerializer _serializer;
public DefaultSerializer()
{
_serializer = new JavaScriptSerializer();
}
public string Serialize(object ob... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TensorShader;
using TensorShader.Layers;
namespace TensorShaderTest.Layers {
[TestClass]
public class TrivectorDeconvolution2DTest {
[TestMethod]
public void ExecuteTest() {
int inchannels = 9, outchannels = 12, inwidth = 13,... |
using System;
using OpenTK;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using FarseerPhysics.Dynamics.Joints;
using Duality.Editor;
using Duality.Resources;
namespace Duality.Components.Physics
{
/// <summary>
/// Constrains two RigidBodies to keep their distance to each other in a certain ran... |
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TackyTacos.Messaging;
namespace TackyTacos.PaymentService.Messaging
{
public class RabbitReceiver :... |
// Buddy Fetcher: simple RSS-fetcher/aggregator.
// Copyright (c) 2020-2021 Buddy Lancer. All rights reserved.
// Author - Buddy Lancer <http://www.buddylancer.com>.
// Licensed under the MIT license.
namespace Bula.Fetcher.Controller {
using System;
using System.Collections;
using Bula.Fetcher;
using... |
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("Sum... |
using System.ComponentModel.DataAnnotations;
namespace YanZhiwei.DotNet.EntLib6.UtilitiesTests.Model
{
/// <summary>
/// 测试实体
/// </summary>
public class Person
{
/// <summary>
/// 姓名
/// </summary>
[Required(ErrorMessage = "姓名不能为空")]
public string Name { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPF.DashboardImpl.Content
{
public class IndivPopupContent
{
}
} |
using System.Linq;
using System.Web.Mvc;
using OurUmbraco.Our;
using OurUmbraco.Project.Models;
using OurUmbraco.Project.Services;
using OurUmbraco.Project.uVersion;
using Umbraco.Web;
using Umbraco.Web.Mvc;
namespace OurUmbraco.Project.Controllers
{
public class ProjectCompatibilityReportController : SurfaceCont... |
//
// JobStore.cs
//
// Author:
// Mike Gemünde <mike@gemuende.de>
// Stephane Delcroix <sdelcroix@src.gnome.org>
//
// Copyright (C) 2007-2010 Novell, Inc.
// Copyright (C) 2010 Mike Gemünde
// Copyright (C) 2007-2008 Stephane Delcroix
//
// Permission is hereby granted, free of charge, to any person obtaining
// ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using Microsoft.Framework.Localization;
namespace Microsoft.AspNet.Mvc.Localization
{
public interface IViewLocalizer : IHtmlLocalizer
{
}
} |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class DisplayStory : MonoBehaviour {
public Parser parser;
public GameLogic gameLogic;
public GameObject StoryText;
public GameObject ButtonText;
public GameObject textStart;
public GameObject buttonStart;
... |
using System;
using System.Buffers.Binary;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using MarcusW.VncClient.Protocol;
using MarcusW.VncClient.Rendering;
namespace MarcusW.VncClient
{
/// <summary>
/// Represents a pixel format that's used for RFB encodings.
/// </summar... |
using Content.Server.Hands.Components;
using Content.Shared.Hands;
using Content.Shared.Hands.Components;
using Content.Shared.Interaction;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.Hands.Systems
{
[UsedImplicitly]
public sealed class HandVirtualItemSystem : SharedH... |
using System;
using System.IO;
namespace Syndll2
{
internal class Response : IEquatable<Response>
{
public string RawResponse { get; private set; }
public PrimaryResponseCommand Command { get; private set; }
public int TerminalId { get; private set; }
public string Data { get; ... |
namespace DigitalLearningSolutions.Data.Tests.Services
{
using System.Collections.Generic;
using System.IO;
using ClosedXML.Excel;
using DigitalLearningSolutions.Data.DataServices;
using DigitalLearningSolutions.Data.DataServices.UserDataService;
using DigitalLearningSolutions.Data.Models.User;... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class QuotaEmailTemplateListRequest : APIListRequest
{
public QuotaEmailTemplateListRequest() : base("quotaEmailTemplateList") {}
... |
/*
* Copyright 2012-2014 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* 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 Lice... |
using System.Collections.Generic;
namespace ET
{
/// <summary>
/// 管理Scene上的UI
/// </summary>
public class UIComponent: Entity, IAwake
{
public Dictionary<string, UI> UIs = new Dictionary<string, UI>();
}
} |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology 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 ... |
using System.Collections.Generic;
namespace LogParser.Interfaces
{
public interface ILiteDbService
{
int WriteBulk<T>(string collectionName, List<T> list);
}
} |
using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using PcapDotNet.Base;
namespace PcapDotNet.Packets.Http
{
/// <summary>
/// RFC 2616.
/// The Content-Type entity-header field indicates the media type of the entity-bo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Shapes
{
public class Circle : IDrawable
{
private int radius;
public Circle(int radius)
{
this.radius = radius;
}
public void Draw()
{
double rIn = radius - 0... |
//------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
/*
* 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 Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Web.Website.Security;
namespace Umbraco.Extensions;
/// <summary>
/// Extension methods for <see cref="IUmbracoBuilder" /> for the Umbraco back office
/// </summary>
public static partial class UmbracoBuilderExtensions
{
/// <summary>
/// A... |
using Microsoft.EntityFrameworkCore.Migrations;
using System.Collections.Generic;
using System.IO;
namespace Website.DAL
{
public static class MigrationExtensions
{
const string StoredProcLocation = "DAL\\StoredProcs\\";
public static List<string> GetStoredProcs(this Migration migration)
... |
namespace SocketDemo
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 fal... |
using System;
namespace Bugs
{
class Bug0
{
struct MyBoolean
{
private bool value;
public MyBoolean(bool value)
{
this.value = value;
}
public static implicit operator MyBoolean(bool value)
{
... |
@model OrchardCore.Contents.AuditTrail.ViewModels.AuditTrailContentEventDetailViewModel
@using OrchardCore.Contents.AuditTrail.Services
@{
var contentEvent = Model.ContentEvent;
var contentItem = contentEvent.ContentItem;
var versionNumber = contentEvent.VersionNumber;
var latestVersionId = Model.Lates... |
#region Copyright (C) 2003-2016 Stimulsoft
/*
{*******************************************************************}
{ }
{ Stimulsoft Reports }
{ }
{ Copyright (C) 2003-2016 Stimulsoft }
{ ALL RIGHTS RESERVED }
{ }
{ The entire contents of ... |
#if !NETSTANDARD13
/*
* 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
... |
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
using System.Collections.Generic;
using System.IO;
using ILRuntime.Mono.Collections.Generic;
using Microsoft.Cci.Pdb;
using IL... |
namespace HotelSystem.Data.Common.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public abstract class BaseModel<TKey> : IAuditInfo, IDeletableEntity
{
[Key]
public TKey Id { get; set; }
public DateTi... |
using Microsoft.Data.Sqlite;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RepoDb.Extensions;
using RepoDb.Sqlite.Microsoft.IntegrationTests.Models;
using RepoDb.Sqlite.Microsoft.IntegrationTests.Setup;
using System;
using System.Linq;
namespace RepoDb.Sqlite.Microsoft.IntegrationTests.Operations.MDS
{
... |
using System.Threading.Tasks;
using Car.Domain.Dto;
using Car.Domain.Dto.Location;
using Car.Domain.Services.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Car.WebApi.Controllers
{
[Authorize]
[Route("api/locations")]
[ApiController]
public class Locati... |
namespace LevelDB
{
public static class DBExtensions
{
public static void CopyToByteArray(this int source, byte[] destination, int offset)
{
//if (destination == null) throw new ArgumentException("Destination array cannot be null");
// check if there is enough space for ... |
using SerrisTabsServer.Items;
using SerrisTabsServer.Manager;
using SerrisTabsServer.Storage.StorageTypes;
using System.Text;
using System.Threading.Tasks;
namespace SerrisTabsServer.Storage
{
public enum StorageListTypes
{
Nothing,
LocalStorage,
OneDrive
}
public class Storag... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AzurePipelinesToGitHubActionsConverter.Core.AzurePipelines
{
public class Job
{
//Regular job:
//https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ladon.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Ladon.Tests")]
[assembly: AssemblyCopyrigh... |
//---------------------------------------------------------------------
// <copyright file="NewTreeBuilder.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------------... |
namespace Email.Net
{
using Email.Net.EDP;
using Email.Net.Factories;
/// <summary>
/// the extensions methods over the <see cref="EmailMessageComposer"/> factory.
/// </summary>
public static class SmtpProviderMessageComposerExtensions
{
/// <summary>
/// pass a custom edp... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... |
using Microsoft.Win32.SafeHandles;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
namespace SCIndexer.Native
{
public class Kernel32
... |
using System;
using Shiny;
namespace Samples.ShinySetup
{
public class StartupTask1 : IStartupTask
{
public StartupTask1()
{
}
public void Start()
{
Console.WriteLine("Hi From " + this.GetType().Name);
}
}
public class StartupTask2 : ISt... |
@using SquishIt.Framework
@{
ViewBag.Title = "Minify Css";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="test-container">
<p class="red-text">This text should be red if css1 was processed.</p>
<p class="blue-text">This text should be blue if css2 was processed.</p>
</div>
<div id="js-test-cont... |
//******************************************************************************
// This file has been generated via text template.
// Do not make changes as they will be automatically overwritten.
//
// Generated on 04/07/2021 09:32:47
//*****************************************************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.