protected internal void AddUnitGlObject(GlObject glObject, GlAction glAction) { #if DEBUG if (glObject is null) { throw new ArgumentNullException(nameof(glObject), "Argument can not be null."); } if (glAction is null) { throw new ArgumentNullException(nameof(glAction), "Argument can not be null."); } #endif UninitGlObjects.Add(glObject, glAction); }
protected bool Equals(GlObject other) { return(GetId() == other.GetId()); }