private NamedPipeSettings(NamedPipeSettings elementToBeCloned)
 {
     if (elementToBeCloned.ApplicationContainerSettings != null)
     {
         this.ApplicationContainerSettings = elementToBeCloned.ApplicationContainerSettings.Clone();
     }
 }
 private NamedPipeSettings(NamedPipeSettings elementToBeCloned)
 {
     if (elementToBeCloned.ApplicationContainerSettings != null)
     {
         this.ApplicationContainerSettings = elementToBeCloned.ApplicationContainerSettings.Clone();
     }
 }
Beispiel #3
0
        internal void InitializeFrom(NamedPipeSettings settings)
        {
            if (null == settings)
            {
                throw FxTrace.Exception.ArgumentNull("settings");
            }

            this.ApplicationContainerSettings.InitializeFrom(settings.ApplicationContainerSettings);
        }
Beispiel #4
0
        internal void ApplyConfiguration(NamedPipeSettings settings)
        {
            if (null == settings)
            {
                throw FxTrace.Exception.ArgumentNull("settings");
            }

            this.ApplicationContainerSettings.ApplyConfiguration(settings.ApplicationContainerSettings);
        }
        internal bool IsMatch(NamedPipeSettings pipeSettings)
        {
            if (pipeSettings == null)
            {
                return(false);
            }

            if (!this.ApplicationContainerSettings.IsMatch(pipeSettings.ApplicationContainerSettings))
            {
                return(false);
            }

            return(true);
        }
        internal bool IsMatch(NamedPipeSettings pipeSettings)
        {
            if (pipeSettings == null)
            {
                return false;
            }

            if (!this.ApplicationContainerSettings.IsMatch(pipeSettings.ApplicationContainerSettings))
            {
                return false;
            }

            return true;
        }