void IDisposable.Dispose()
        {
            if (contents != null) {
	            contents.Destroy();
	            contents = null;
            }
        }
Beispiel #2
0
 void IDisposable.Dispose()
 {
     if (contents != null)
     {
         contents.Destroy();
         contents = null;
     }
 }
 public override ISourceContents CreateFor (Source source)
 {
     if (contents == null) {
         contents = new OpenVPSourceContents();
     }
     
     return contents;
 }
Beispiel #4
0
        public override ISourceContents CreateFor(Source source)
        {
            if (contents == null)
            {
                contents = new OpenVPSourceContents();
            }

            return(contents);
        }