NAnt.VSNet.ProjectBaseCollection.this C# (CSharp) Méthode

this() private méthode

private this ( string guid ) : ProjectBase
guid string
Résultat ProjectBase
        public ProjectBase this[string guid]
        {
            get {
                if (guid == null) {
                    throw new ArgumentNullException("guid");
                }

                // try to locate instance by guid (case-insensitive)
                foreach (ProjectBase project in base.List) {
                    if (string.Compare(project.Guid, guid, true, CultureInfo.InvariantCulture) == 0) {
                        return project;
                    }
                }
                return null;
            }
        }

Same methods

ProjectBaseCollection::this ( int index ) : ProjectBase