Beispiel #1
0
 public void Remove(SapConnectionConfigElement sapConnection)
 {
     if (BaseIndexOf(sapConnection) >= 0)
     {
         BaseRemove(sapConnection.Name);
         // Your custom code goes here.
         Console.WriteLine("SapConnectionsCollection: {0}", "Removed collection element!");
     }
 }
Beispiel #2
0
 public void Add(SapConnectionConfigElement sapConnection)
 {
     BaseAdd(sapConnection);
     // Your custom code goes here.
 }
Beispiel #3
0
 public int IndexOf(SapConnectionConfigElement sapConnection)
 {
     return(BaseIndexOf(sapConnection));
 }
Beispiel #4
0
        // Create a new instance of the SapConnectionsSection.
        // This constructor creates a configuration element
        // using the SapConnectionConfigElement default values.
        // It assigns this element to the collection.
        public SapConnectionsSection()
        {
            SapConnectionConfigElement connection = new SapConnectionConfigElement();

            SapConnections.Add(connection);
        }