/// <summary> /// Registers a scope in the internal dictionary. /// </summary> /// <param name="name">The name of the scope.</param> internal static MicrosoftScope RegisterScope(string name) { MicrosoftScope scope = new MicrosoftScope(name); Scopes.Add(scope.Name, scope); return(scope); }
/// <summary> /// Adds the specified <code>scope</code> to the collection. /// </summary> /// <param name="scope">The scope to be added.</param> public void Add(MicrosoftScope scope) { _list.Add(scope); }
/// <summary> /// Registers a scope in the internal dictionary. /// </summary> /// <param name="name">The name of the scope.</param> internal static MicrosoftScope RegisterScope(string name) { MicrosoftScope scope = new MicrosoftScope(name); Scopes.Add(scope.Name, scope); return scope; }