CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogConfig.Find C# (CSharp) Method

Find() public method

Returns the VMLogServiceConfig corresponding to the name set as parameter
public Find ( string name ) : VMLogServiceConfig
name string
return VMLogServiceConfig
        public VMLogServiceConfig Find( string name )
        {
            foreach( VMLogServiceConfig vmLogServiceConfig in _services )
            {
                if( vmLogServiceConfig.Name == name )
                    return vmLogServiceConfig;
            }
            return null;
        }