IMediaList.cs :  » GUI » SharpVectorGraphics » SharpVectors » Dom » Stylesheets » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » GUI » SharpVectorGraphics 
SharpVectorGraphics » SharpVectors » Dom » Stylesheets » IMediaList.cs
using System;

namespace SharpVectors.Dom.Stylesheets{
  /// <summary>
  /// The MediaList interface provides the abstraction of an 
  /// ordered collection of media, without defining or constraining
  /// how this collection is implemented. An empty list is the same
  /// as a list that contains the medium "all". 
  /// </summary>
  /// <developer>niklas@protocol7.com</developer>
  /// <completed>100</completed>
  public interface IMediaList
  {
    /// <summary>
    /// Adds the medium newMedium to the end of the list. If the newMedium is already used, it is first removed.
    /// </summary>
    /// <param name="newMedium">The new medium to add.</param>
    /// <exception cref="DomException">INVALID_CHARACTER_ERR: If the medium contains characters that are invalid in the underlying style language.</exception>
    /// <exception cref="DomException">NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly</exception>
    void AppendMedium(string newMedium);
  
    /// <summary>
    /// 
    /// </summary>
    /// <param name="oldMedium"></param>
    /// <exception cref="DomException">NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.</exception>
    /// <exception cref="DomException">NOT_FOUND_ERR: Raised if oldMedium is not in the list.</exception>
    void DeleteMedium(string oldMedium);
  
    /// <summary>
    /// The number of media in the list. The range of valid media is 0 to length-1 inclusive.
    /// </summary>
    ulong Length{get;}
  
    /// <summary>
    /// The parsable textual representation of the media list. This is a comma-separated list of media.
    /// </summary>
    /// <exception cref="DomException">SYNTAX_ERR: Raised if the specified string value has a syntax error and is unparsable.</exception>
    /// <exception cref="DomException">NO_MODIFICATION_ALLOWED_ERR: Raised if this media list is readonly.</exception>
    string MediaText{get;set;}

    /// <summary>
    /// Returns the indexth in the list. If index is greater than or equal to the number of media in the list, this returns null.
    /// </summary>
    string this[ulong index]{get;}
  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.