Beispiel #1
0
 public override void Dispose()
 {
     this._namespaces = null;
     base.Dispose();
 }
Beispiel #2
0
        public IVreNamespaceVersion <TEnvironment, TVersion, TIdentityManager> GetNamespace(string dottedName)
        {
            string[] parts = dottedName.Split(new string[] { "." }, StringSplitOptions.RemoveEmptyEntries);
            IVreNamespaceDictionaryVersion <TEnvironment, TVersion, TIdentityManager> current          = this;
            IVreNamespaceVersion <TEnvironment, TVersion, TIdentityManager>           currentNamespace = null;

            foreach (var part in parts)
            {
                currentNamespace = current[part];
                current          = currentNamespace.Namespaces;
            }
            return(currentNamespace);
        }