ckfinder/_source/Connector/Connector.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*
 * CKFinder
 * ========
 * http://ckfinder.com
 * Copyright (C) 2007-2012, CKSource - Frederico Knabben. All rights reserved.
 *
 * The software, this file and its contents are subject to the CKFinder
 * License. Please read the license.txt file before using, installing, copying,
 * modifying or distribute this file or part of its contents. The contents of
 * this file is part of the Source Code of CKFinder.
 */

// To disabled special debugging features, simply uncomment this line.
// #undef DEBUG

using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Web.UI;
using System.Reflection;

namespace CKFinder.Connector
{
	/// <summary>
	/// The class handles all requests sent to the CKFinder connector file,
	/// connector.aspx.
	/// </summary>
	public class Connector : Page
	{
		/// <summary>
		/// The "ConfigFile" object, is the instance of config.ascx, present in
		/// the connector.aspx file. It makes it possible to configure CKFinder
		/// whithout having to compile it.
		/// </summary>
		public Settings.ConfigFile ConfigFile;
		public CKFinderPlugin[] Plugins;
		public List<string> JavascriptPlugins;
		public CKFinderEvent CKFinderEvent = new CKFinderEvent();

		#region Disable ASP.NET features

		/// <summary>
		/// Theming is disabled as it interferes in the connector response data.
		/// </summary>
		public override bool EnableTheming
		{
			get { return false; }
			set { /* Ignore it with no error */ }
		}

		/// <summary>
		/// Master Page is disabled as it interferes in the connector response data.
		/// </summary>
		public override string MasterPageFile
		{
			get { return null; }
			set { /* Ignore it with no error */ }
		}

		/// <summary>
后面还有 194 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。