Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExtensionPoint"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="host">The host.</param>
 /// <param name="priorityLevels">The priority levels.</param>
 public ExtensionPoint(string name, IExtensionHost host, int priorityLevels)
 {
     this.name  = name;
     this.host  = host;
     extensions = new ExtensionsCollection(priorityLevels);
 }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ExtensionPoint"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="host">The host.</param>
        /// <param name="priorityLevels">The priority levels.</param>
	    public ExtensionPoint(string name, IExtensionHost host, int priorityLevels)
		{
			this.name = name;
			this.host = host;
            extensions = new ExtensionsCollection(priorityLevels);
		}