Property.Get C# (CSharp) Method

Get() public method

public Get ( ) : MethodDetail
return MethodDetail
            public MethodDetail Get() {
               return get;
            }
            public MethodDetail Set() {

Usage Example

Example #1
0
        public IEntityShape AddShape(IEntity entity, PointF position)
        {
            if (!(IsInitialized?.Get() ?? false))
            {
                return(null);
            }
            if (entity == null)
            {
                throw new ArgumentNullException(nameof(entity));
            }

            IEntityShape result = null;

            if (GetEntityShape(entity.Id) == null)
            {
                if (_entities == null)
                {
                    _entities = new List <IEntityShape>();
                }
                result = new EntityShape(Model?.Get(), entity)
                {
                    Position = position
                };
                _entities.Add(result);
                Dirty.IsDirty = true;
                _entityShapeAdded?.Invoke(EntityShapesContainer?.Get(), result);
            }

            return(result);
        }
All Usage Examples Of Property::Get