Project

Profile

Help

Revision c7deb2a9

Added by Debbie Lockett 6 months ago

.NET code updates: tidying up documentation comments, etc. for recent development work (e.g. Bug #4839)

View differences:

src/main/csharp/api/Saxon.Api/Destination.cs
25 25
using JAbstractDestination = net.sf.saxon.s9api.AbstractDestination;
26 26
using JAction = net.sf.saxon.s9api.Action;
27 27
using java.net;
28
using net.sf.saxon.@event;
29 28
using net.sf.saxon.s9api;
30
using net.sf.saxon.serialize;
31 29

  
32 30
namespace Saxon.Api
33 31
{
......
895 893
        }
896 894
    }
897 895

  
898
    /*
899
    /// <summary>
900
    /// A completely general functional interface for functions that take
901
    /// no argument, return void, and potentially throw a Exception
902
    /// </summary>
903
    public interface IAction {
904

  
905
        /// <summary>
906
        /// Perform the requested action
907
        /// </summary>
908
        void Act();
909

  
910
    } */
911

  
912
    /*internal class ActionImpl: net.sf.saxon.s9api.Action {
913

  
914
        private IAction action;
915
        public ActionImpl(IAction actioni) {
916
            action = actioni;
917
        }
918

  
919
        public void act()
920
        {
921
            try
922
            {
923
                action.Act();
924

  
925
            }
926
            catch (net.sf.saxon.s9api.SaxonApiException ex) {
927

  
928
                throw new DynamicError(ex);
929
            }
930

  
931
        }
932

  
933
    }*/
934

  
935 896

  
936 897
    internal class AbstractDestination : XmlDestination
937 898
    {

Also available in: Unified diff